I was too quick to save that file (File::getByUrl takes 1 arg)

This commit is contained in:
Mikael Nordfeldth 2016-03-29 14:33:40 +02:00
parent 2f91cb0df7
commit 4ea79bc396
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ class Action extends HTMLOutputter // lawsuit
$httpUrl = common_config('site', 'logo');
if (!empty($httpUrl)) {
try {
$f = File::getByUrl('url', $httpUrl);
$f = File::getByUrl($httpUrl);
if (!empty($f->filename)) {
// this will handle the HTTPS case
$logoUrl = File::url($f->filename);