From e86345bf1187c56a5584c8a9732a2bca8c3a28b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 19 Oct 2001 19:25:15 +0000 Subject: [PATCH] fixed bug #472858 - Dump error, thanks to Thomas Baehr --- ChangeLog | 4 +++- libraries/build_dump.lib.php3 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a045a95a1..3d2033075 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,7 +13,9 @@ $Source$ * Documentation.txt: updated. * common.lib.php3, lines 675 & 687-689: changed font size for IE6 (because the xml declaration has been cleaned up). - * main.php3, lines 149 & 462: cosmetic changes. + * main.php3, lines 149 & 462: cosmetic changes. + * libraries/build_dump.lib.php, line 317: fixed bug #472858 - Dump error, + thanks to Thomas Baehr. * lang/czech-*.inc.php3: fixed an other typo, thanks to Michal Cihar. 2001-10-18 Loïc Chapeaux diff --git a/libraries/build_dump.lib.php3 b/libraries/build_dump.lib.php3 index b38b57dc3..7c8e4f6d8 100644 --- a/libraries/build_dump.lib.php3 +++ b/libraries/build_dump.lib.php3 @@ -314,7 +314,7 @@ if (!defined('__LIB_BUILD_DUMP__')){ for ($j = 0; $j < $fields_cnt; $j++) { if (!isset($row[$j])) { - $schema_insert .= ' NULL,'; + $schema_insert .= ' NULL, '; } else if ($row[$j] != '') { $type = mysql_field_type($result, $j); // a number