aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-09-01 15:23:22 -0400
committerNils Adermann <naderman@naderman.de>2011-09-29 16:15:54 +0200
commit024a5e710e2e49ab3159bb1d781d388d21d2021d (patch)
tree1e7797eb6bd5bf70c98419423397d56c3b0c0f9e
parente52022c572c6f1a7cbab7e665e4b738f9e084f7f (diff)
downloadforums-024a5e710e2e49ab3159bb1d781d388d21d2021d.tar
forums-024a5e710e2e49ab3159bb1d781d388d21d2021d.tar.gz
forums-024a5e710e2e49ab3159bb1d781d388d21d2021d.tar.bz2
forums-024a5e710e2e49ab3159bb1d781d388d21d2021d.tar.xz
forums-024a5e710e2e49ab3159bb1d781d388d21d2021d.zip
[feature/extension-manager] Correctly reset paths in set_template
PHPBB3-10323
-rw-r--r--phpBB/includes/template/path_provider.php2
1 files changed, 1 insertions, 1 deletions
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)
{