bug #1415465, undefined variable sql_query

This commit is contained in:
Marc Delisle
2006-02-18 14:36:53 +00:00
parent 065e1d6f7d
commit 6ebf0bee0d
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2006-02-18 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php: bug #1415465, undefined $sql_query
2006-02-18 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2006-02-18 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/sql_query_form.lib.php: * libraries/sql_query_form.lib.php:
fixed bug #1433882 html special chars not escaped in query in querybox fixed bug #1433882 html special chars not escaped in query in querybox

View File

@@ -75,8 +75,9 @@ if (!empty($disp_message)) {
/** /**
* Defines the url to return to in case of error in a sql statement * 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'; $goto = 'db_details.php';
} }
// TODO: check if we could replace by "db_details|tbl" // TODO: check if we could replace by "db_details|tbl"