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

@@ -16,6 +16,11 @@ require_once './libraries/common.inc.php';
require './libraries/db_common.inc.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
* "db_structure.php" script where table can be created