From 2b55e28b063cc022c81088104eefa2fb374fa354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Tue, 4 Sep 2001 15:49:18 +0000 Subject: [PATCH] fixed a js error --- tbl_alter.php3 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tbl_alter.php3 b/tbl_alter.php3 index 71e35ad28..c673b29c8 100755 --- a/tbl_alter.php3 +++ b/tbl_alter.php3 @@ -6,6 +6,9 @@ * Gets some core libraries */ require('./grab_globals.inc.php3'); +if (isset($submit)) { + $js_to_run = 'functions.js'; +} require('./header.inc.php3'); @@ -63,12 +66,12 @@ if (isset($submit)) { $query .= ' ' . $field_extra[0]; } - // Optimization fix - 2 May 2001 - Robbat2 - $sql_query = 'ALTER TABLE ' . backquote($db) . '.' . backquote($table) . ' CHANGE ' . $query; - $result = mysql_query($sql_query) or mysql_die(); - $message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered; - include('./tbl_properties.php3'); - exit(); + // Optimization fix - 2 May 2001 - Robbat2 + $sql_query = 'ALTER TABLE ' . backquote($db) . '.' . backquote($table) . ' CHANGE ' . $query; + $result = mysql_query($sql_query) or mysql_die(); + $message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered; + include('./tbl_properties.php3'); + exit(); }