fixed bug #468807 (dump error)

This commit is contained in:
Loïc Chapeaux
2001-10-07 22:09:51 +00:00
parent a8e7ec0a8c
commit 92ec43d8fc
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ $Source$
header.inc.php3, line 119; left.php3, line 150: the background colors for 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 both the fames are now defined in the configuration file thanks to
Laurent Penou <laurent.penou at gadz.org>. Laurent Penou <laurent.penou at gadz.org>.
* build_dump.lib.php3, line 212: fixed bug #468807 (dump error).
2001-10-04 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2001-10-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* left.php3: * left.php3:

View File

@@ -209,7 +209,7 @@ if (!defined('__LIB_BUILD_DUMP__')){
for ($j = 0; $j < $fields_cnt; $j++) { for ($j = 0; $j < $fields_cnt; $j++) {
if (!isset($row[$j])) { if (!isset($row[$j])) {
$values[] = 'NULL'; $values[] = 'NULL';
} else if (!empty($row[$j])) { } else if ($row[$j] != '') {
// a number // a number
if ($field_num[$j]) { if ($field_num[$j]) {
$values[] = $row[$j]; $values[] = $row[$j];