From b578a1cefa21910303faf2c540284df74f3d0fa1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 3 Jun 2010 12:51:59 +0200 Subject: [PATCH] removed PHP 5.3 specific code --- lib/Twig/Node.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Node.php b/lib/Twig/Node.php index 02efca3..9fc162d 100644 --- a/lib/Twig/Node.php +++ b/lib/Twig/Node.php @@ -65,7 +65,7 @@ class Twig_Node implements Twig_NodeInterface, ArrayAccess, Countable, Iterator public function toXml($asDom = false) { - $dom = new \DOMDocument('1.0', 'UTF-8'); + $dom = new DOMDocument('1.0', 'UTF-8'); $dom->formatOutput = true; $dom->appendChild($xml = $dom->createElement('twig')); -- 1.7.2.5