X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fserverexception.php;h=0f4c5099579c7e339d06a312dc840aa84fff8f0e;hb=11dc170eade226e3db9f26742b24ebecff83b490;hp=7dc9765ad6b6b95da8cc440a8deba8799321c4c3;hpb=a08c76a4342cfb4b3d772f6880ba0b8f3153b246;p=quix0rs-gnu-social.git diff --git a/lib/serverexception.php b/lib/serverexception.php index 7dc9765ad6..0f4c509957 100644 --- a/lib/serverexception.php +++ b/lib/serverexception.php @@ -22,7 +22,7 @@ * @category Exception * @package StatusNet * @author Evan Prodromou - * @copyright 2008 StatusNet, Inc. + * @copyright 2008-2010 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -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); }