cvs: pearweb /include pear-format-html.php

From: Date: Sun, 25 Apr 2004 19:45:56 +0000
Subject: cvs: pearweb /include pear-format-html.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-18741@lists.php.net to get a copy of this message
toby Sun Apr 25 15:45:56 2004 EDT Modified files: /pearweb/include pear-format-html.php Log: * Fix output of "0" (PEPr). http://cvs.php.net/diff.php/pearweb/include/pear-format-html.php?r1=1.92&r2=1.93&ty=u Index: pearweb/include/pear-format-html.php diff -u pearweb/include/pear-format-html.php:1.92 pearweb/include/pear-format-html.php:1.93 --- pearweb/include/pear-format-html.php:1.92 Sun Apr 25 13:50:28 2004 +++ pearweb/include/pear-format-html.php Sun Apr 25 15:45:56 2004 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-format-html.php,v 1.92 2004/04/25 17:50:28 mj Exp $ + $Id: pear-format-html.php,v 1.93 2004/04/25 19:45:56 toby Exp $ */ PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler'); @@ -405,7 +405,7 @@ for ($j = 0; $j < $this->cols-1; $j++) { print "$i <td style=\"vertical-align: top; background-color: #E8E8E8\">"; $data = @func_get_arg($j + 1); - if (empty($data)) { + if (!isset($data)) { print "&nbsp;"; } else { print $data;

« previous php.pear.cvs (#18741) next »