bug #1425522, warning when calling a stored procedure

This commit is contained in:
Marc Delisle 2006-02-13 17:54:07 +00:00
parent e91c4e2b10
commit 541fb3f4b2
2 changed files with 10 additions and 5 deletions

View File

@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php: bug #1425522, warning when calling
a stored procedure, thanks to JTC - jcqns
2006-02-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php:
- fixed bug #1416848 'Insert new row from Browse page'

View File

@ -677,11 +677,12 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
// Do not show comments, if using horizontalflipped mode, because of space usage
if ($GLOBALS['cfg']['ShowBrowseComments'] && ($GLOBALS['cfgRelation']['commwork'] || PMA_MYSQL_INT_VERSION >= 40100) && $disp_direction != 'horizontalflipped') {
$comments_map = array();
foreach ($analyzed_sql[0]['table_ref'] as $tbl) {
$tb = $tbl['table_true_name'];
$comments_map[$tb] = PMA_getComments($db, $tb);
if (isset($analyzed_sql[0]) && is_array($analyzed_sql[0])) {
foreach ($analyzed_sql[0]['table_ref'] as $tbl) {
$tb = $tbl['table_true_name'];
$comments_map[$tb] = PMA_getComments($db, $tb);
unset($tb);
}
}
}