mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 06:37:33 +02:00
Remove unnecessary braces
This commit is contained in:
@@ -5,5 +5,5 @@ error_reporting(24575); // all but E_DEPRECATED (overriding mysqli methods witho
|
||||
set_error_handler(function ($errno, $errstr) {
|
||||
// "Undefined array key" mutes $_GET["q"] if there's no ?q=
|
||||
// "Undefined offset" and "Undefined index" are older messages for the same thing
|
||||
return !!preg_match('~^(Undefined (array key|offset|index))~', $errstr);
|
||||
return !!preg_match('~^Undefined (array key|offset|index)~', $errstr);
|
||||
}, E_WARNING | E_NOTICE); // warning since PHP 8.0
|
||||
|
Reference in New Issue
Block a user