mirror of
https://github.com/vrana/adminer.git
synced 2026-03-13 16:10:50 +01:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user