1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-03 19:57:57 +02:00

XMLDB: method _save() use utf-8 encoding.

This commit is contained in:
Sergey Romanenko
2013-01-15 15:41:01 +02:00
parent b9471a505e
commit fa5824e03c

View File

@@ -853,7 +853,7 @@ class Table
*/ */
protected static function _save($table) protected static function _save($table)
{ {
$dom = new DOMDocument('1.0'); $dom = new DOMDocument('1.0', 'utf-8');
$dom->preserveWhiteSpace = false; $dom->preserveWhiteSpace = false;
// Save new xml data to xml file only if loadXML successful. // Save new xml data to xml file only if loadXML successful.