mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Don't print query in edit
This commit is contained in:
@@ -89,7 +89,7 @@ if ($_POST["save"]) {
|
|||||||
$select = array("*");
|
$select = array("*");
|
||||||
}
|
}
|
||||||
if ($select) {
|
if ($select) {
|
||||||
$result = $driver->select($TABLE, $select, array($where), $select, array(), (isset($_GET["select"]) ? 2 : 1), 0, true);
|
$result = $driver->select($TABLE, $select, array($where), $select, array(), (isset($_GET["select"]) ? 2 : 1), 0);
|
||||||
$row = $result->fetch_assoc();
|
$row = $result->fetch_assoc();
|
||||||
if (isset($_GET["select"]) && (!$row || $result->fetch_assoc())) { // $result->num_rows != 1 isn't available in all drivers
|
if (isset($_GET["select"]) && (!$row || $result->fetch_assoc())) { // $result->num_rows != 1 isn't available in all drivers
|
||||||
$row = null;
|
$row = null;
|
||||||
|
Reference in New Issue
Block a user