1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-02 11:20:52 +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)
{
$dom = new DOMDocument('1.0');
$dom = new DOMDocument('1.0', 'utf-8');
$dom->preserveWhiteSpace = false;
// Save new xml data to xml file only if loadXML successful.