diff options
Diffstat (limited to 'phpBB')
| -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);  | 
