cain Mon Jun 30 09:51:52 2003 EDT
Modified files:
/pear/Tree Memory.php
Log:
- prevent E_All warning
Index: pear/Tree/Memory.php
diff -u pear/Tree/Memory.php:1.28 pear/Tree/Memory.php:1.29
--- pear/Tree/Memory.php:1.28 Fri Jun 20 12:57:21 2003
+++ pear/Tree/Memory.php Mon Jun 30 09:51:52 2003
@@no-spam -16,7 +16,7 @@no-spam
// | Authors: Wolfram Kriesing <wolfram@no-spam> |
// +----------------------------------------------------------------------+
//
-// $Id: Memory.php,v 1.28 2003/06/20 16:57:21 cain Exp $
+// $Id: Memory.php,v 1.29 2003/06/30 13:51:52 cain Exp $
require_once 'Tree/Common.php';
require_once 'Tree/Error.php';
@@no-spam -1473,7 +1473,7 @@no-spam
print "$prefix {$aNode['name']}</td>";
foreach ($keys as $aKey) {
if (!is_array($key)) {
- $val = $aNode[$aKey] ? $aNode[$aKey] : ' ';
+ $val = isset($aNode[$aKey]) ? $aNode[$aKey] : ' ';
print "<td>$val</td>";
}
}