]> git.joonet.de Git - adminer.git/commitdiff
Don't print query in edit
authorJakub Vrana <jakub@vrana.cz>
Sat, 11 Jan 2014 04:51:04 +0000 (20:51 -0800)
committerJakub Vrana <jakub@vrana.cz>
Sat, 11 Jan 2014 04:51:04 +0000 (20:51 -0800)
adminer/edit.inc.php

index 116f12345fb877f85e81f278f06545b41ee2c7d3..2a6f0a16d60e6431a5bd3755331a71b8964892df 100644 (file)
@@ -89,7 +89,7 @@ if ($_POST["save"]) {
                $select = array("*");
        }
        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();
                if (isset($_GET["select"]) && (!$row || $result->fetch_assoc())) { // $result->num_rows != 1 isn't available in all drivers
                        $row = null;