X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/6a7e0d652b1d40a397e1c1386d500101796676c4..bffbe68ec3ad93aa6188083441677ab0fdd54659:/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