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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user