From: Hypolite Petovan Date: Fri, 26 Apr 2019 19:39:42 +0000 (-0400) Subject: Fix "Illegal string offset 'title'/'description'" notice in Module\Photo X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71b221a84d8cc788ab93587da2df74cd772a7b00;p=friendica.git Fix "Illegal string offset 'title'/'description'" notice in Module\Photo See https://forum.friendi.ca/display/097d37de-265c-c35b-f385-e0b584714020 --- diff --git a/src/Module/Photo.php b/src/Module/Photo.php index 15ea261fb0..ed5609640c 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -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"])) {