mirror of
https://github.com/vrana/adminer.git
synced 2025-08-20 05:11:25 +02:00
Do not modify $_GET["where"]
This commit is contained in:
@@ -366,9 +366,8 @@ class Adminer {
|
||||
echo "</div>\n";
|
||||
}
|
||||
}
|
||||
$_GET["where"][] = array();
|
||||
$change_next = "this.parentNode.firstChild.onchange();";
|
||||
foreach ($_GET["where"] as $i => $val) {
|
||||
foreach (array_merge((array) $_GET["where"], array(array())) as $i => $val) {
|
||||
if (!$val || ("$val[col]$val[val]" != "" && in_array($val["op"], $this->operators))) {
|
||||
echo "<div>" . select_input(
|
||||
" name='where[$i][col]'",
|
||||
|
Reference in New Issue
Block a user