mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/11388] Fix typo
PHPBB3-11388
This commit is contained in:
parent
dd7f9f08d5
commit
abd4159f87
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue