remove display Avg_row_length if zero

This commit is contained in:
Steve Alberty
2001-07-12 09:46:40 +00:00
parent b1a7069726
commit c4240a841b
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2001-07-12 Steve Alberty <alberty@neptunlabs.de>
* tbl_properties.php3: remove display "Avg_row_length" if zero
2001-07-11 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2001-07-11 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_properties.php3, db_details.php3: fixed some bugs with php3 * tbl_properties.php3, db_details.php3: fixed some bugs with php3
(0 != empty). (0 != empty).

View File

@@ -369,7 +369,7 @@ if (MYSQL_MAJOR_VERSION == "3.23" && intval(MYSQL_MINOR_VERSION) > 3 && $tbl_typ
</tr> </tr>
<?php <?php
} }
if (isset($showtable['Avg_row_length'])) { if (isset($showtable['Avg_row_length']) && $showtable['Avg_row_length']>0) {
echo (++$i%2) echo (++$i%2)
? ' <tr bgcolor="' . $cfgBgcolorTwo . '">' ? ' <tr bgcolor="' . $cfgBgcolorTwo . '">'
: ' <tr bgcolor="' . $cfgBgcolorOne . '">'; : ' <tr bgcolor="' . $cfgBgcolorOne . '">';