cvs: peclweb /include pear-format-html.php
| From: | Sara Golemon | Date: | Mon, 01 Dec 2003 20:20:13 +0000 |
| Subject: | cvs: peclweb /include pear-format-html.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-544@lists.php.net to get a copy of this message | ||
pollita Mon Dec 1 15:20:13 2003 EDT
Modified files:
/peclweb/include pear-format-html.php
Log:
Bugfix. $data is associative
Index: peclweb/include/pear-format-html.php
diff -u peclweb/include/pear-format-html.php:1.72 peclweb/include/pear-format-html.php:1.73
--- peclweb/include/pear-format-html.php:1.72 Sun Sep 21 08:03:33 2003
+++ peclweb/include/pear-format-html.php Mon Dec 1 15:20:13 2003
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.72 2003/09/21 12:03:33 mj Exp $
+ $Id: pear-format-html.php,v 1.73 2003/12/01 20:20:13 pollita Exp $
*/
/* Send charset */
@@ -527,12 +527,11 @@
if (!empty($notes)) {
print "<table cellpadding=\"2\" cellspacing=\"0\"
border=\"0\">\n";
foreach ($notes as $nid => $data) {
- list($nby, $ntime, $note) = $data;
print " <tr>\n";
print " <td>\n";
- print " <b>$nby $ntime:</b>";
+ print " <b>{$data['nby']}
{$data['ntime']}:</b>";
print "<br />\n";
- print " ".htmlspecialchars($note)."\n";
+ print " ".htmlspecialchars($data['note'])."\n";
print " </td>\n";
print " </tr>\n";
print " <tr><td> </td></tr>\n";