1
1
Fork 0

Merge pull request #7046 from friendica/MrPetovan-patch-httpExit-Module-Photo

Fix "Illegal string offset 'title'/'description'" notice in Module\Photo
This commit is contained in:
Philipp 2019-04-26 22:56:14 +02:00 committed by GitHub
commit 427a79056f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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"])) {