From e6339046ffdaf96d0a71e0758abb9beb92995aeb Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 10 Mar 2025 07:37:02 +0100 Subject: [PATCH] Remove unused variable --- lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang.php b/lang.php index a4a7adc4..02024850 100755 --- a/lang.php +++ b/lang.php @@ -44,7 +44,7 @@ foreach (glob(__DIR__ . "/adminer/lang/" . ($_SESSION["lang"] ?: "*") . ".inc.ph unset($messages[$en]); $en_fullstop = (substr($en, -2, 1) == "."); //! check in array - if ($en != "','" && ($en_fullstop xor preg_match("~($fullstop)'\)?\$~", $line, $match))) { + if ($en != "','" && ($en_fullstop xor preg_match("~$fullstop'\)?\$~", $line))) { if ($lang != ($en_fullstop ? "ja" : "he")) { // fullstop is optional in 'ja', forbidden in 'he' echo "$filename:" . (substr_count($file, "\n", 0, $offset) + 1) . ":Not matching fullstop: $line\n"; }