From 0d8759b0f559c845e676ce4a79eb17459f89f361 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 9 Sep 2004 17:00:37 +0000 Subject: [PATCH] bug #1024434, insert tab after Insert textfile --- ChangeLog | 2 ++ tbl_change.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9b08f6ade..2d7a51949 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ $Source$ 2004-09-09 Marc Delisle * Documentation.html: bug #1022338: clarify about needed chown -R on the scripts (otherwise, problems in PHP safe mode) + * tbl_change.php: bug #1024434, undefined sql_query when clicking + on Insert tab from the Insert textfile sub-page 2004-09-07 Marc Delisle * main.php: bug #992211, wrong parameters to diff --git a/tbl_change.php b/tbl_change.php index 1be586f65..f8a28cd85 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -50,7 +50,7 @@ if (!empty($disp_message)) { if (!isset($goto)) { $goto = 'db_details.php'; } -if (!preg_match('@^(db_details|tbl_properties|tbl_select)@', $goto)) { +if (!preg_match('@^(db_details|tbl_properties|tbl_select|ldi_table)@', $goto)) { $err_url = $goto . "?" . PMA_generate_common_url($db) . "&sql_query=" . urlencode($sql_query); } else { $err_url = $goto . '?'