now really store it ...

This commit is contained in:
Sebastian Mendel
2007-03-22 15:48:49 +00:00
parent 2fe8c36bd7
commit c8cfbaff7a

View File

@@ -750,9 +750,9 @@ function PMA_setHistory($db, $table, $username, $sqlquery)
} }
$_SESSION['sql_history'][$key] = array( $_SESSION['sql_history'][$key] = array(
'db' => '', 'db' => $db,
'table' => '', 'table' => $table,
'sqlquery' => '', 'sqlquery' => $sqlquery,
); );
if (count($_SESSION['sql_history']) > $GLOBALS['cfg']['QueryHistoryMax']) { if (count($_SESSION['sql_history']) > $GLOBALS['cfg']['QueryHistoryMax']) {