[ticket/11388] Fix typo

PHPBB3-11388
This commit is contained in:
Nathaniel Guse 2013-07-11 11:26:38 -05:00
parent dd7f9f08d5
commit abd4159f87

View file

@ -135,10 +135,10 @@ class phpbb_style
$new_paths = array(); $new_paths = array();
foreach ($paths as $path) 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; return true;
} }
@ -178,7 +178,7 @@ class phpbb_style
$new_paths = array(); $new_paths = array();
foreach ($paths as $path) 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); $this->template->set_style_names($names, $new_paths);