Fix uninitialized variables

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@914 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-27 11:31:54 +00:00
parent c64c4fd14d
commit d145471973
5 changed files with 8 additions and 10 deletions

View File

@@ -90,6 +90,11 @@ while ($row = $result->fetch_assoc()) {
}
$result->free();
$row = array(
"Engine" => $_COOKIE["adminer_engine"],
"fields" => array(array("field" => "")),
"partition_names" => array(""),
);
if ($_POST) {
$row = $_POST;
if ($row["auto_increment_col"]) {
@@ -116,12 +121,6 @@ if ($_POST) {
$result->free();
$row["partition_names"][] = "";
}
} else {
$row = array(
"Engine" => $_COOKIE["adminer_engine"],
"fields" => array(array("field" => "")),
"partition_names" => array(""),
);
}
$collations = collations();