For Lo�c: do not die if relation table is broken in browse mode.
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
@@ -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?
|
||||||
|
Reference in New Issue
Block a user