mirror of
https://github.com/vrana/adminer.git
synced 2025-11-18 02:50:39 +01:00
Free result
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@471 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -59,6 +59,7 @@ if ($_POST) {
|
|||||||
if ($select) {
|
if ($select) {
|
||||||
$result = $mysql->query("SELECT " . implode(", ", $select) . " FROM " . idf_escape($_GET["edit"]) . " WHERE " . implode(" AND ", $where) . " LIMIT 1");
|
$result = $mysql->query("SELECT " . implode(", ", $select) . " FROM " . idf_escape($_GET["edit"]) . " WHERE " . implode(" AND ", $where) . " LIMIT 1");
|
||||||
$row = $result->fetch_assoc();
|
$row = $result->fetch_assoc();
|
||||||
|
$result->free();
|
||||||
} else {
|
} else {
|
||||||
$row = array();
|
$row = array();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user