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