From 78e8aff38d766696389b345897804359a41be7a8 Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Thu, 12 Mar 2015 17:57:34 +0000 Subject: [PATCH] Rename appendTemplate to insertTemplate --- src/Dom/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dom/Node.php b/src/Dom/Node.php index 06ff60d1..86df2c7c 100644 --- a/src/Dom/Node.php +++ b/src/Dom/Node.php @@ -205,7 +205,7 @@ public function __call($name, $args) { return $value; } - if($name === "appendTemplate" + if($name === "insertTemplate" && !empty($this->domNode->templateName)) { $this->templateParentNode->insertBefore( $this,