diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-11 11:26:38 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-11 11:27:15 -0500 |
commit | abd4159f87db8db5030afc439f072d6aa7b715e3 (patch) | |
tree | 0cc6420a4dcf78d545b4c74abb9f1df081b06093 | |
parent | dd7f9f08d5b62f5060c89af92989451ca27de43b (diff) | |
download | forums-abd4159f87db8db5030afc439f072d6aa7b715e3.tar forums-abd4159f87db8db5030afc439f072d6aa7b715e3.tar.gz forums-abd4159f87db8db5030afc439f072d6aa7b715e3.tar.bz2 forums-abd4159f87db8db5030afc439f072d6aa7b715e3.tar.xz forums-abd4159f87db8db5030afc439f072d6aa7b715e3.zip |
[ticket/11388] Fix typo
PHPBB3-11388
-rw-r--r-- | phpBB/includes/style/style.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/style/style.php b/phpBB/includes/style/style.php index 7001d10f21..034f518091 100644 --- a/phpBB/includes/style/style.php +++ b/phpBB/includes/style/style.php @@ -135,10 +135,10 @@ class phpbb_style $new_paths = array(); foreach ($paths as $path) { - $new_paths = $path . '/template/'; + $new_paths[] = $path . '/template/'; } - $this->template->set_style_names($this->names, $new_paths1, ($style_directories === array('styles'))); + $this->template->set_style_names($this->names, $new_paths, ($style_directories === array('styles'))); return true; } @@ -178,7 +178,7 @@ class phpbb_style $new_paths = array(); foreach ($paths as $path) { - $new_paths = $path . '/' . (($template_path !== false) ? $template_path : 'template/'); + $new_paths[] = $path . '/' . (($template_path !== false) ? $template_path : 'template/'); } $this->template->set_style_names($names, $new_paths); |