Comment
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1155 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
b60ed1ba95
commit
fc23e5a656
|
@ -118,7 +118,7 @@ if (!$error && $_POST) {
|
||||||
|
|
||||||
<form action="" method="post" enctype="multipart/form-data">
|
<form action="" method="post" enctype="multipart/form-data">
|
||||||
<p><textarea name="query" rows="20" cols="80" style="width: 98%;"><?php
|
<p><textarea name="query" rows="20" cols="80" style="width: 98%;"><?php
|
||||||
$q = $_GET["sql"];
|
$q = $_GET["sql"]; // overwrite $q from if ($_POST) to save memory
|
||||||
if ($_POST) {
|
if ($_POST) {
|
||||||
$q = $_POST["query"];
|
$q = $_POST["query"];
|
||||||
} elseif (strlen($_GET["history"])) {
|
} elseif (strlen($_GET["history"])) {
|
||||||
|
|
Loading…
Reference in a new issue