replaced usage of array_replace by array_merge (for 5.2 compatibility)

This commit is contained in:
Fabien Potencier
2011-08-27 09:38:43 +02:00
parent c609060f94
commit 46c258d29d
+1 -1
View File
@@ -144,7 +144,7 @@ class Twig_Node_Module extends Twig_Node
}
$compiler
->write("\$this->blocks = array_replace(\n")
->write("\$this->blocks = array_merge(\n")
->indent()
;