From 71b221a84d8cc788ab93587da2df74cd772a7b00 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 26 Apr 2019 15:39:42 -0400 Subject: [PATCH] Fix "Illegal string offset 'title'/'description'" notice in Module\Photo See https://forum.friendi.ca/display/097d37de-265c-c35b-f385-e0b584714020 --- src/Module/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"])) { -- 2.39.5