From 6ebf0bee0d4d37b42030a13e4495ed5c40bfb3ff Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 18 Feb 2006 14:36:53 +0000 Subject: [PATCH] bug #1415465, undefined variable sql_query --- ChangeLog | 3 +++ tbl_change.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a07c7cc4f..2fced0635 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2006-02-18 Marc Delisle + * tbl_change.php: bug #1415465, undefined $sql_query + 2006-02-18 Sebastian Mendel * libraries/sql_query_form.lib.php: fixed bug #1433882 html special chars not escaped in query in querybox diff --git a/tbl_change.php b/tbl_change.php index 90762f141..c3c95b597 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -75,8 +75,9 @@ if (!empty($disp_message)) { /** * Defines the url to return to in case of error in a sql statement + * (at this point, $goto might be set but empty) */ -if (!isset($goto)) { +if (empty($goto)) { $goto = 'db_details.php'; } // TODO: check if we could replace by "db_details|tbl"