From f68a0c7399d9d74f71a1579cf5a0b3f269f3e790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Tue, 4 Sep 2001 21:32:06 +0000 Subject: [PATCH] fixed a js error --- tbl_replace.php3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tbl_replace.php3 b/tbl_replace.php3 index 19355bba3..57729a721 100755 --- a/tbl_replace.php3 +++ b/tbl_replace.php3 @@ -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();