]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
I was too quick to save that file (File::getByUrl takes 1 arg)
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 12:33:40 +0000 (14:33 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 12:33:40 +0000 (14:33 +0200)
lib/action.php

index 86b4908b3d2be0cf3cf3dd8fc6840b1bae3f5cb5..bab8a6dbccdb00c9a6c3a3895855c24d59ed8f44 100644 (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);