Ignore lengths in adding new index

This commit is contained in:
Jakub Vrana 2013-07-06 23:42:37 -07:00
parent 7c109ba274
commit 22b0a85acf

View file

@ -74,11 +74,7 @@ if ($_POST["add"]) {
}
}
$index = end($row["indexes"]);
if ($index["type"]
|| array_filter($index["columns"], 'strlen')
|| array_filter($index["lengths"], 'strlen')
|| array_filter($index["descs"])
) {
if ($index["type"] || array_filter($index["columns"], 'strlen')) {
$row["indexes"][] = array("columns" => array(1 => ""));
}
}