]> git.joonet.de Git - adminer.git/commitdiff
Change variable name
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sat, 13 Jun 2009 19:20:11 +0000 (19:20 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sat, 13 Jun 2009 19:20:11 +0000 (19:20 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@679 7c3ca157-0c34-0410-bff1-cbf682f78f5c

select.inc.php

index c01796304bb77dc18aa1e72ce86ca43485b10116..f35fa927ec978090ca5b68d38f719e4731b8198b 100644 (file)
@@ -72,13 +72,13 @@ if ($_POST && !$error) {
        if ($_POST["export"]) {
                dump_headers($_GET["select"]);
                dump_table($_GET["select"], "");
-               $from = "SELECT " . ($select ? implode(", ", $select) : "*") . " FROM " . idf_escape($_GET["select"]);
+               $query = "SELECT " . ($select ? implode(", ", $select) : "*") . " FROM " . idf_escape($_GET["select"]);
                if (is_array($_POST["check"])) {
                        foreach ($_POST["check"] as $val) {
-                               dump_data($_GET["select"], "INSERT", "$from WHERE " . implode(" AND ", where_check($val)) . " LIMIT 1");
+                               dump_data($_GET["select"], "INSERT", "$query WHERE " . implode(" AND ", where_check($val)) . " LIMIT 1");
                        }
                } else {
-                       dump_data($_GET["select"], "INSERT", $from . ($where ? " WHERE " . implode(" AND ", $where) : ""));
+                       dump_data($_GET["select"], "INSERT", $query . ($where ? " WHERE " . implode(" AND ", $where) : ""));
                }
                exit;
        }