This commit is contained in:
Michal Čihař
2003-02-03 21:02:11 +00:00
parent ea04a49e0a
commit 18fc8cbec2
2 changed files with 5 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ else {
// 'xml' case
else if ($GLOBALS['what'] == 'xml') {
// first add the xml tag
$dump_buffer .= '<?xml version="1.0" encoding="' . (empty($asfile) ? $charset : $charset_of_file) . '"?>' . $crlf . $crlf;
$dump_buffer .= '<?xml version="1.0" encoding="' . (empty($asfile) ? $charset : (isset($charset_of_file) ? $charset_of_file : $charset)) . '"?>' . $crlf . $crlf;
// some comments
$dump_buffer .= '<!--' . $crlf
. '-' . $crlf