From 67132a941cf986a2fd2ccd1f99e09729e2971ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Thu, 28 Feb 2002 20:19:05 +0000 Subject: [PATCH] Fixed bug #523772 - Parse Error in tbl_printview.php --- ChangeLog | 7 ++++++- tbl_printview.php3 | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e76a4138a..7975071be 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,8 +5,13 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-02-28 Loïc Chapeaux + * Documentation.html: fixed xhtml1.0 errors. + * tbl_printview.php3, lines 328-329: fixed bug #523772 - Parse Error in + tbl_printview.php, thanks to Joshua Nye . + 2002-02-27 Marc Delisle - * Documentation.html: new faq about letting users create their dbs + * Documentation.html: new faq about letting users create their dbs. 2002-02-27 Loïc Chapeaux * libraries/common.lib.php3, lines 146-164: back to previous version. diff --git a/tbl_printview.php3 b/tbl_printview.php3 index 774649222..04bb714c8 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -325,7 +325,8 @@ while (list($key, $table) = each($the_tables)) { list($free_size, $free_unit) = PMA_formatByteDown($showtable['Data_free']); list($effect_size, $effect_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length'] - $showtable['Data_free']); } else { - unset($free_size, $free_unit); + unset($free_size); + unset($free_unit); 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']);