fixed a js error

This commit is contained in:
Loïc Chapeaux
2001-09-04 21:32:06 +00:00
parent 20cc338c33
commit f68a0c7399

View File

@@ -111,6 +111,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
// No change -> move back to the calling script
else {
if (file_exists('./' . $goto)) {
$js_to_run = 'functions.js';
include('./header.inc.php3');
$message = $strNoModification;
include('./' . ereg_replace('\.\.*', '.', $goto));
@@ -204,6 +205,7 @@ if (!$result) {
if ($goto == 'db_details.php3' && !empty($table)) {
unset($table);
}
$js_to_run = 'functions.js';
include('./header.inc.php3');
if (@mysql_affected_rows()) {
$message .= @mysql_affected_rows();