summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Xml/TXmlDocument.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php
index 8a1ae6d1..9325c62a 100644
--- a/framework/Xml/TXmlDocument.php
+++ b/framework/Xml/TXmlDocument.php
@@ -323,7 +323,7 @@ class TXmlDocument extends TXmlElement
public function __construct($version='1.0',$encoding='')
{
parent::__construct('');
- $this->setversion($version);
+ $this->setVersion($version);
$this->setEncoding($encoding);
}