From 12da5f07307b67bd17b1f5d49c8a42f673eaef41 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 6 Aug 2002 09:56:41 +0000 Subject: [PATCH] =?UTF-8?q?For=20Lo=EF=BF=BDc:=20do=20not=20die=20if=20rel?= =?UTF-8?q?ation=20table=20is=20broken=20in=20browse=20mode.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 4 ++++ libraries/display_tbl.lib.php3 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 650267fcd..f0787b8d3 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-08-06 Loïc Chapeaux + * libraries/display_tbl.lib.php3, line 1412: do not die if relation table + is broken in browse mode. + 2002-08-06 Alexander M. Turek * lang/english-*.inc.php3: Typo. diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index 4c8da258b..45613ffa9 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -1409,7 +1409,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ . ' FROM ' . PMA_backquote($cfgRelation['relation']) . ' WHERE master_db = \'' . PMA_sqlAddslashes($db) . '\'' . ' AND master_table IN ' . $tabs; - $result = @PMA_query_as_cu($local_query); + $result = @PMA_query_as_cu($local_query, FALSE); if ($result) { while ($rel = PMA_mysql_fetch_row($result)) { // check for display field?