For Lo�c: do not die if relation table is broken in browse mode.

This commit is contained in:
Alexander M. Turek
2002-08-06 09:56:41 +00:00
parent 51147543b6
commit 12da5f0730
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-08-06 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/display_tbl.lib.php3, line 1412: do not die if relation table
is broken in browse mode.
2002-08-06 Alexander M. Turek <rabus@users.sourceforge.net> 2002-08-06 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/english-*.inc.php3: Typo. * lang/english-*.inc.php3: Typo.

View File

@@ -1409,7 +1409,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
. ' FROM ' . PMA_backquote($cfgRelation['relation']) . ' FROM ' . PMA_backquote($cfgRelation['relation'])
. ' WHERE master_db = \'' . PMA_sqlAddslashes($db) . '\'' . ' WHERE master_db = \'' . PMA_sqlAddslashes($db) . '\''
. ' AND master_table IN ' . $tabs; . ' AND master_table IN ' . $tabs;
$result = @PMA_query_as_cu($local_query); $result = @PMA_query_as_cu($local_query, FALSE);
if ($result) { if ($result) {
while ($rel = PMA_mysql_fetch_row($result)) { while ($rel = PMA_mysql_fetch_row($result)) {
// check for display field? // check for display field?