summaryrefslogtreecommitdiff
path: root/inc/lib/Twig/Loader/Chain.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/lib/Twig/Loader/Chain.php')
-rwxr-xr-x[-rw-r--r--]inc/lib/Twig/Loader/Chain.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/lib/Twig/Loader/Chain.php b/inc/lib/Twig/Loader/Chain.php
index 1f1cf065..7919eda6 100644..100755
--- a/inc/lib/Twig/Loader/Chain.php
+++ b/inc/lib/Twig/Loader/Chain.php
@@ -17,7 +17,7 @@
class Twig_Loader_Chain implements Twig_LoaderInterface, Twig_ExistsLoaderInterface
{
private $hasSourceCache = array();
- protected $loaders;
+ protected $loaders = array();
/**
* Constructor.
@@ -26,7 +26,6 @@ class Twig_Loader_Chain implements Twig_LoaderInterface, Twig_ExistsLoaderInterf
*/
public function __construct(array $loaders = array())
{
- $this->loaders = array();
foreach ($loaders as $loader) {
$this->addLoader($loader);
}