]> git.mxchange.org Git - friendica.git/commitdiff
Fix "Illegal string offset 'title'/'description'" notice in Module\Photo
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 26 Apr 2019 19:39:42 +0000 (15:39 -0400)
committerGitHub <noreply@github.com>
Fri, 26 Apr 2019 19:39:42 +0000 (15:39 -0400)
See https://forum.friendi.ca/display/097d37de-265c-c35b-f385-e0b584714020

src/Module/Photo.php

index 15ea261fb0cf6ac1093e2f940d6bbd6df36d54c4..ed5609640c34eb4d9f9da17e15ffd0c2355fff8e 100644 (file)
@@ -26,7 +26,7 @@ class Photo extends BaseModule
        {
                $a = self::getApp();
                if ($a->argc <= 1 || $a->argc > 4) {
-                       System::httpExit(400, "Bad Request");
+                       System::httpExit(400);
                }
 
                if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"])) {