From 024a5e710e2e49ab3159bb1d781d388d21d2021d Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Thu, 1 Sep 2011 15:23:22 -0400 Subject: [PATCH] [feature/extension-manager] Correctly reset paths in set_template PHPBB3-10323 --- phpBB/includes/template/path_provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/template/path_provider.php b/phpBB/includes/template/path_provider.php index 80e3ef87d7..a56269d3c8 100644 --- a/phpBB/includes/template/path_provider.php +++ b/phpBB/includes/template/path_provider.php @@ -50,7 +50,7 @@ class phpbb_template_path_provider implements IteratorAggregate, phpbb_template_ */ public function set_templates(array $templates, $style_root_path) { - $this->paths; + $this->paths = array(); foreach ($templates as $name => $path) {