X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fserverexception.php;h=0f4c5099579c7e339d06a312dc840aa84fff8f0e;hb=11dc170eade226e3db9f26742b24ebecff83b490;hp=0dfbd04ffdd800e32a56d3c2cdc6b3b0ce726bdb;hpb=7a9777df053a9007b5eaa71f5437584065b615a5;p=quix0rs-gnu-social.git diff --git a/lib/serverexception.php b/lib/serverexception.php index 0dfbd04ffd..0f4c509957 100644 --- a/lib/serverexception.php +++ b/lib/serverexception.php @@ -45,7 +45,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { class ServerException extends Exception { - public function __construct($message = null, $code = 400) { + public function __construct($message = "", $code = 500) { parent::__construct($message, $code); }