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

@@ -19,6 +19,8 @@ $url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';
require_once './libraries/sql_query_form.lib.php';
$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';
$back = 'tbl_sql.php';