From: Michael M Slusarz Date: Thu, 11 Feb 2010 18:02:56 +0000 (-0700) Subject: This is an int, not null. Was breaking all sorts of stuff X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c47829167f7e7002b26118c2e3778fe697222c47;p=horde.git This is an int, not null. Was breaking all sorts of stuff --- diff --git a/framework/Exception/lib/Horde/Exception.php b/framework/Exception/lib/Horde/Exception.php index 2ce637541..84f5cfe67 100644 --- a/framework/Exception/lib/Horde/Exception.php +++ b/framework/Exception/lib/Horde/Exception.php @@ -72,4 +72,4 @@ if (version_compare(PHP_VERSION, '5.3.0', '<')) { class Horde_Exception extends Exception { } -} \ No newline at end of file +} diff --git a/framework/Exception/lib/Horde/Exception/Prior.php b/framework/Exception/lib/Horde/Exception/Prior.php index f3c1356ea..7e2c66b79 100644 --- a/framework/Exception/lib/Horde/Exception/Prior.php +++ b/framework/Exception/lib/Horde/Exception/Prior.php @@ -20,7 +20,7 @@ class Horde_Exception_Prior extends Horde_Exception * object, or an Exception object. * @param int $code A numeric error code. */ - public function __construct($message = null, $code = null) + public function __construct($message = null, $code = 0) { if (is_object($message) && method_exists($message, 'getMessage')) {