Bugfix for querywindow: Didn't show the latest queries.

This commit is contained in:
Garvin Hicking
2003-03-12 18:36:54 +00:00
parent 71b4918b8c
commit 22c8c1dd58
4 changed files with 14 additions and 6 deletions

View File

@@ -140,9 +140,12 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
$sql_query = urldecode($query_history_latest);
$db = $query_history_latest_db;
$table = $query_history_latest_table;
$show_query = 1;
$dup_sql[$query_history_latest] = true;
}
if (isset($sql_query)) {
$show_query = 1;
}
if ($cfg['QueryHistoryDB'] && $cfgRelation['historywork']) {
@@ -218,7 +221,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
<input type="hidden" name="query_history_latest" value="" />
<input type="hidden" name="query_history_latest_db" value="" />
<input type="hidden" name="query_history_latest_table" value="" />
<input type="hidden" name="previous_db" value="<?php echo htmlspecialchars($db); ?>" />
<input type="hidden" name="auto_commit" value="false" />