$_POST[check] may be empty
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@843 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
08dc4b654e
commit
56948c9346
|
@ -85,7 +85,7 @@ $from = ($select ? implode(", ", $select) : "*") . " FROM " . idf_escape($_GET["
|
||||||
$group_by = ($group && count($group) < count($select) ? " GROUP BY " . implode(", ", $group) : "") . ($order ? " ORDER BY " . implode(", ", $order) : "");
|
$group_by = ($group && count($group) < count($select) ? " GROUP BY " . implode(", ", $group) : "") . ($order ? " ORDER BY " . implode(", ", $order) : "");
|
||||||
|
|
||||||
if ($_POST && !$error) {
|
if ($_POST && !$error) {
|
||||||
$where_check = "(" . implode(") OR (", array_map('where_check', $_POST["check"])) . ")";
|
$where_check = "(" . implode(") OR (", array_map('where_check', (array) $_POST["check"])) . ")";
|
||||||
if ($_POST["export"]) {
|
if ($_POST["export"]) {
|
||||||
dump_headers($_GET["select"]);
|
dump_headers($_GET["select"]);
|
||||||
dump_table($_GET["select"], "");
|
dump_table($_GET["select"], "");
|
||||||
|
|
Loading…
Reference in a new issue