From 4b262ededafd0124e66114cdfce3e4c9576c4190 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 29 Mar 2025 23:20:05 +0100 Subject: [PATCH] Remove unnecessary braces --- adminer/include/errors.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/errors.inc.php b/adminer/include/errors.inc.php index b9a88389..ff7fa313 100644 --- a/adminer/include/errors.inc.php +++ b/adminer/include/errors.inc.php @@ -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