Fix "Illegal string offset 'title'/'description'" notice in Module\Photo

See https://forum.friendi.ca/display/097d37de-265c-c35b-f385-e0b584714020
This commit is contained in:
Hypolite Petovan 2019-04-26 15:39:42 -04:00 committed by GitHub
parent 4276926d8d
commit 71b221a84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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