fixed a js error
This commit is contained in:
@@ -6,6 +6,9 @@
|
|||||||
* Gets some core libraries
|
* Gets some core libraries
|
||||||
*/
|
*/
|
||||||
require('./grab_globals.inc.php3');
|
require('./grab_globals.inc.php3');
|
||||||
|
if (isset($submit)) {
|
||||||
|
$js_to_run = 'functions.js';
|
||||||
|
}
|
||||||
require('./header.inc.php3');
|
require('./header.inc.php3');
|
||||||
|
|
||||||
|
|
||||||
@@ -63,12 +66,12 @@ if (isset($submit)) {
|
|||||||
$query .= ' ' . $field_extra[0];
|
$query .= ' ' . $field_extra[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Optimization fix - 2 May 2001 - Robbat2
|
// Optimization fix - 2 May 2001 - Robbat2
|
||||||
$sql_query = 'ALTER TABLE ' . backquote($db) . '.' . backquote($table) . ' CHANGE ' . $query;
|
$sql_query = 'ALTER TABLE ' . backquote($db) . '.' . backquote($table) . ' CHANGE ' . $query;
|
||||||
$result = mysql_query($sql_query) or mysql_die();
|
$result = mysql_query($sql_query) or mysql_die();
|
||||||
$message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered;
|
$message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered;
|
||||||
include('./tbl_properties.php3');
|
include('./tbl_properties.php3');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user