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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user