From 21c339901c95d65e86c9b1b410d5a07d3e514a76 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 16 Feb 2025 16:15:59 +0100 Subject: [PATCH] PHP <5.6 compatibility --- adminer/select.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 91c83e1a..629f6a64 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -224,7 +224,7 @@ if (is_ajax()) { $set = null; if (isset($rights["insert"]) || !support("table")) { - $params = []; + $params = array(); foreach ((array) $_GET["where"] as $val) { if (isset($foreign_keys[$val["col"]]) && count($foreign_keys[$val["col"]]) == 1 && ($val["op"] == "=" || (!$val["op"] && (is_array($val["val"]) || !preg_match('~[_%]~', $val["val"]))) // LIKE in Editor