X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..199532c802fafaa13ae77d1b24cf969e24e8a9d0:/lib-php/DatabaseError.php diff --git a/lib-php/DatabaseError.php b/lib-php/DatabaseError.php index 3a53bc8f..ec428de1 100644 --- a/lib-php/DatabaseError.php +++ b/lib-php/DatabaseError.php @@ -5,7 +5,7 @@ namespace Nominatim; class DatabaseError extends \Exception { - public function __construct($message, $code = 500, Exception $previous = null, $oPDOErr, $sSql = null) + public function __construct($message, $code, $previous, $oPDOErr, $sSql = null) { parent::__construct($message, $code, $previous); // https://secure.php.net/manual/en/class.pdoexception.php