This commit is contained in:
Alexander M. Turek
2004-06-25 09:45:17 +00:00
parent 9c3c3104d4
commit 18f8696af6
2 changed files with 3 additions and 2 deletions

View File

@@ -5,12 +5,13 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-06-24 Michal Čihař <michal@cihar.com>
2004-06-25 Michal Čihař <michal@cihar.com>
* main.php, libraries/select_lang.lib.php: Remember selected charset in
cookie.
2004-06-25 Alexander M. Turek <rabus@users.sourceforge.net>
* queryframe.php: Undefined index errors.
* footer.inc.php: bug #979610.
2004-06-24 Marc Delisle <lem9@users.sourceforge.net>
* left.php, config.inc.php, Documentation.html,

View File

@@ -20,7 +20,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
<script type="text/javascript">
<!--
<?php
if (!isset($no_history) && (!isset($error_message) || $error_message == '')) {
if (!isset($no_history) && !empty($db) && (!isset($error_message) || $error_message == '')) {
$tables = PMA_DBI_try_query('SHOW TABLES FROM ' . PMA_backquote($db) . ';', NULL, PMA_DBI_QUERY_STORE);
$num_tables = ($tables) ? @PMA_DBI_num_rows($tables) : 0;
$common_url_query = PMA_generate_common_url($db);