RFE #641760 (SQL with no DB)

This commit is contained in:
Garvin Hicking
2003-05-14 12:20:05 +00:00
parent 11d98ed258
commit 5911dbcf11
3 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ $Source$
better fix for #624712), by Maxime Delorme. Thanks!
* tbl_change.php3: RFE #737174 implemented (comments welcome)
* tbl_change.php3: RFE #723124 implemented (reset button)
* read_dump.php3, tbl_query_box.php3: RFE #641760
2003-05-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.data.php3: bug 736793, new reserved

View File

@@ -9,6 +9,9 @@ require('./libraries/read_dump.lib.php3');
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
if (!isset($db)) {
$db = '';
}
/**
* Increases the max. allowed time to run a script

View File

@@ -72,6 +72,8 @@ if ($cfg['QueryFrame'] && (!$cfg['QueryFrameJS'] && !$db || ($cfg['QueryFrameJS'
$queryframe_db_list .= '<option value="' . htmlspecialchars($t_db) . '">' . htmlspecialchars($t_db) . '</option>';
}
$queryframe_db_list .= '</select>';
} else {
$queryframe_db_list = '';
}
} else {
$queryframe_db_list = '';