Allow editing of query without database.

This commit is contained in:
Michal Čihař
2005-10-13 17:26:08 +00:00
parent 1819599e53
commit a13fadb644
2 changed files with 2 additions and 1 deletions

View File

@@ -2003,7 +2003,7 @@ if (typeof(document.getElementById) != 'undefined'
//if (!isset($GLOBALS['goto'])) {
//$edit_target = (isset($GLOBALS['table'])) ? $cfg['DefaultTabTable'] : $cfg['DefaultTabDatabase'];
$edit_target = isset($GLOBALS['db']) ? (isset($GLOBALS['table']) ? 'tbl_properties.php' : 'db_details.php') : '';
$edit_target = isset($GLOBALS['db']) ? (isset($GLOBALS['table']) ? 'tbl_properties.php' : 'db_details.php') : 'server_sql.php';
//} else if ($GLOBALS['goto'] != 'main.php') {
// $edit_target = $GLOBALS['goto'];
//} else {