]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/DatabaseError.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib-php / DatabaseError.php
index 3a53bc8ffd6f3fc4eed698d343da731a484e21d3..ec428de1951f8be8bb8976c5fae578892b6cddb4 100644 (file)
@@ -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