bug #1835904 [GUI] Back link after a SQL error forgets the query

This commit is contained in:
Marc Delisle
2007-12-05 17:53:52 +00:00
parent 7732222321
commit aeea642811
3 changed files with 8 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #1807816 [search] regular expression search doesn't work with - bug #1807816 [search] regular expression search doesn't work with
backslashes backslashes
- bug #1843463 [GUI] DROP PROCEDURE does not show alert - bug #1843463 [GUI] DROP PROCEDURE does not show alert
- bug #1835904 [GUI] Back link after a SQL error forgets the query
2.11.3.0 (not yet released) 2.11.3.0 (not yet released)
- patch #1818389 to remove a notice (failed to flush buffer), thanks to - patch #1818389 to remove a notice (failed to flush buffer), thanks to

View File

@@ -16,6 +16,11 @@ require_once './libraries/common.inc.php';
require './libraries/db_common.inc.php'; require './libraries/db_common.inc.php';
require_once './libraries/sql_query_form.lib.php'; require_once './libraries/sql_query_form.lib.php';
// After a syntax error, we return to this script
// with the typed query in the textarea.
$goto = 'db_sql.php';
$back = 'db_sql.php';
/** /**
* Gets informations about the database and, if it is empty, move to the * Gets informations about the database and, if it is empty, move to the
* "db_structure.php" script where table can be created * "db_structure.php" script where table can be created

View File

@@ -19,6 +19,8 @@ $url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';
require_once './libraries/sql_query_form.lib.php'; require_once './libraries/sql_query_form.lib.php';
$err_url = 'tbl_sql.php' . $err_url; $err_url = 'tbl_sql.php' . $err_url;
// After a syntax error, we return to this script
// with the typed query in the textarea.
$goto = 'tbl_sql.php'; $goto = 'tbl_sql.php';
$back = 'tbl_sql.php'; $back = 'tbl_sql.php';