undefined variable

This commit is contained in:
Marc Delisle
2002-07-06 11:24:26 +00:00
parent c27d7b07b5
commit 64c9f201c1
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-07-06 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_structure.php3: undefined variable
2002-07-05 Alexander M. Turek <rabus@users.sourceforge.net>
* header.inc.php3: Tried to fix bug #571409 (Zend Accelerator problems).

View File

@@ -315,7 +315,7 @@ if ($cfg['ShowStats']) {
list($effect_size, $effect_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length']);
}
list($tot_size, $tot_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length']);
if ($num_rows > 0) {
if ($table_info_num_rows > 0) {
list($avg_size, $avg_unit) = PMA_formatByteDown(($showtable['Data_length'] + $showtable['Index_length']) / $showtable['Rows'], 6, 1);
}