From 4ea79bc396a16a5687f017ee5f4ebe442bdcf8f6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 29 Mar 2016 14:33:40 +0200 Subject: [PATCH] I was too quick to save that file (File::getByUrl takes 1 arg) --- lib/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5