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

@@ -6,8 +6,11 @@ $Id$
$Source$
2003-02-03 Michal Cihar <nijel@users.sourceforge.net>
* libraries/display_tbl.lib.php3, tbl_change.php3: Show blob size (RFE #678729).
* libraries/display_tbl.lib.php3, tbl_change.php3: Show blob size (RFE
#678729).
* tbl_replace_fields.php3, tbl_change.php3: Allow binary uploads.
* tbl_dump.php3: Fix bug #679699 (export to XML, save to file - Undefined
variable: charset_of_file).
2003-02-03 Garvin Hicking <me@supergarv.de>
* pdf_schema.php3, libraries/dbg/profiling.php3,

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