From: Mikael Nordfeldth Date: Tue, 29 Mar 2016 12:33:40 +0000 (+0200) Subject: I was too quick to save that file (File::getByUrl takes 1 arg) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ea79bc396a16a5687f017ee5f4ebe442bdcf8f6;p=quix0rs-gnu-social.git I was too quick to save that file (File::getByUrl takes 1 arg) --- diff --git a/lib/action.php b/lib/action.php index 86b4908b3d..bab8a6dbcc 100644 --- a/lib/action.php +++ b/lib/action.php @@ -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);