From: fabrixxm Date: Sat, 8 Dec 2018 17:49:47 +0000 (+0100) Subject: Fix Module\Photo exit with error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a46cbfca3dfda12d4576b752382dc1d19c06c94f;p=friendica.git Fix Module\Photo exit with error --- diff --git a/src/Module/Photo.php b/src/Module/Photo.php index b20c2657a5..3cf500719f 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -84,7 +84,7 @@ class Photo extends BaseModule if (is_null($img) || !$img->isValid()) { Logger::log("Invalid photo with id {$photo["id"]}."); - System::httpExit(500, "Internal Server Error"); + System::httpExit(500, ["description" => "Invalid photo with id {$photo["id"]}."]); }