1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Ignore undefined property PHP warning

This commit is contained in:
Jakub Vrana
2025-02-15 17:02:21 +01:00
parent 12293ce215
commit f4607d763c

View File

@@ -2,7 +2,7 @@
$VERSION = "4.9.1-dev"; $VERSION = "4.9.1-dev";
function adminer_errors($errno, $errstr) { function adminer_errors($errno, $errstr) {
return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined array key)~', $errstr); return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined (array key|property))~', $errstr);
} }
error_reporting(6135); // errors and warnings error_reporting(6135); // errors and warnings