diff --git a/ChangeLog b/ChangeLog index f9aaf4050..93e0d4aa1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,7 +7,7 @@ $Source$ 2003-04-09 Michal Cihar * libraries/build_dump.lib.php3: Fixed undefined index warnings in LaTeX - dump. + and XML dump. * libraries/display_export.lib.php3: Added
before charset selection in export. diff --git a/libraries/build_dump.lib.php3 b/libraries/build_dump.lib.php3 index 58a754720..6db23c18a 100644 --- a/libraries/build_dump.lib.php3 +++ b/libraries/build_dump.lib.php3 @@ -689,7 +689,7 @@ if (!defined('PMA_BUILD_DUMP_LIB_INCLUDED')){ $buffer .= ' <' . $table . '>' . $crlf; for ($i = 0; $i < $columns_cnt; $i++) { // There is no way to dectect a "NULL" value with PHP3 - if (!function_exists('is_null') || !is_null($record[$columns[$i]])) { + if ( isset($record[$columns[$i]]) && (!function_exists('is_null') || !is_null($record[$columns[$i]]))) { $buffer .= ' <' . $columns[$i] . '>' . htmlspecialchars($record[$columns[$i]]) . '' . $crlf; }