This commit is contained in:
Steve Alberty
2001-07-31 09:33:50 +00:00
parent 739e2922ab
commit 40c066f380

View File

@@ -19,7 +19,7 @@ mysql_select_db($db);
* A new name has been submitted -> do the work
*/
if (isset($num_fields)) $num_fields=intval($num_fields);
if (isset($table) && trim($table) != '' && !empty($num_fields)) {
if ((!isset($submit) && isset($table) && trim($table) != '' && !empty($num_fields)) || isset($submit)) {
/**
* The form used to define the structure of the table has been submitted