mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
$_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:
@@ -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) : "");
|
||||
|
||||
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"]) {
|
||||
dump_headers($_GET["select"]);
|
||||
dump_table($_GET["select"], "");
|
||||
|
Reference in New Issue
Block a user