diff --git a/ChangeLog b/ChangeLog index 6ad9c9f15..7aa2ec547 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ header.inc.php3, line 119; left.php3, line 150: the background colors for both the fames are now defined in the configuration file thanks to Laurent Penou . + * build_dump.lib.php3, line 212: fixed bug #468807 (dump error). 2001-10-04 Loïc Chapeaux * left.php3: diff --git a/libraries/build_dump.lib.php3 b/libraries/build_dump.lib.php3 index 4eca18577..b33c2960b 100644 --- a/libraries/build_dump.lib.php3 +++ b/libraries/build_dump.lib.php3 @@ -209,7 +209,7 @@ if (!defined('__LIB_BUILD_DUMP__')){ for ($j = 0; $j < $fields_cnt; $j++) { if (!isset($row[$j])) { $values[] = 'NULL'; - } else if (!empty($row[$j])) { + } else if ($row[$j] != '') { // a number if ($field_num[$j]) { $values[] = $row[$j];