]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/serverexception.php
[CORE][FRAMEWORK] URL_REGEX_VALID_PATH_CHARS didn't recognize the parenthesis sign.
[quix0rs-gnu-social.git] / lib / serverexception.php
index 0dfbd04ffdd800e32a56d3c2cdc6b3b0ce726bdb..0f4c5099579c7e339d06a312dc840aa84fff8f0e 100644 (file)
@@ -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);
     }