Fixed undefined index warnings in XML dump.
This commit is contained in:
@@ -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]])
|
||||
. '</' . $columns[$i] . '>' . $crlf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user