Don't display edit link for database-independant queries.

This commit is contained in:
Alexander M. Turek
2003-02-15 12:29:24 +00:00
parent 0702039276
commit 6b4f99f5c9
2 changed files with 3 additions and 1 deletions

View File

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