bug #1392924 undefined index: tab_count
This commit is contained in:
@@ -16,6 +16,8 @@ $Source$
|
||||
* libraries/common.lib.php:
|
||||
removed aditional check for table row count for left frame tree
|
||||
(bug #1397061 Left frame not loaded correct on MySQL error)
|
||||
* libraries/common.lib.php, left.php:
|
||||
bug #1392924 undefined index: tab_count
|
||||
|
||||
2006-01-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html: typo, thanks to Cédric Corazza
|
||||
|
4
left.php
4
left.php
@@ -463,11 +463,11 @@ function PMA_displayTableList($tables, $visible = false,
|
||||
return false;">
|
||||
<?php
|
||||
if ( $GLOBALS['text_dir'] === 'rtl' ) {
|
||||
echo ' <bdo dir="ltr">(' . $table['tab_count'] . ')</bdo> ';
|
||||
echo ' <bdo dir="ltr">(' . $table['tab' . $sep . 'count'] . ')</bdo> ';
|
||||
}
|
||||
echo htmlspecialchars( substr( $group, 0, strlen( $group ) - strlen( $sep ) ) );
|
||||
if ( $GLOBALS['text_dir'] === 'ltr' ) {
|
||||
echo ' <bdo dir="ltr">(' . $table['tab_count'] . ')</bdo> ';
|
||||
echo ' <bdo dir="ltr">(' . $table['tab' . $sep . 'count'] . ')</bdo> ';
|
||||
}
|
||||
?>
|
||||
</a>
|
||||
|
@@ -1100,7 +1100,7 @@ if (!defined('PMA_MINIMUM_COMMON')) {
|
||||
$group[$group_name]['tab' . $sep . 'count'] = 1;
|
||||
$group[$group_name]['tab' . $sep . 'group'] = $group_name_full;
|
||||
} else {
|
||||
$group[$group_name]['tab_count']++;
|
||||
$group[$group_name]['tab' . $sep . 'count']++;
|
||||
}
|
||||
$group =& $group[$group_name];
|
||||
$i++;
|
||||
|
Reference in New Issue
Block a user