diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-06-11 21:00:22 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-06-11 21:00:22 -0400 |
commit | 699aab8e8e52bf5980a8078fc460d30cedd65347 (patch) | |
tree | cbabfd589c10d70110d517f0746ccd2885d67454 /phpBB/includes/style | |
parent | 436ade19fcef64ea5f5cd399018d0c7e9289452b (diff) | |
download | forums-699aab8e8e52bf5980a8078fc460d30cedd65347.tar forums-699aab8e8e52bf5980a8078fc460d30cedd65347.tar.gz forums-699aab8e8e52bf5980a8078fc460d30cedd65347.tar.bz2 forums-699aab8e8e52bf5980a8078fc460d30cedd65347.tar.xz forums-699aab8e8e52bf5980a8078fc460d30cedd65347.zip |
[ticket/10829] $style_name -> $style_path in style class.
Here the style path is taken and the variable name should be $style_path.
PHPBB3-10829
Diffstat (limited to 'phpBB/includes/style')
-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 8d38deb85c..22e0f1d67a 100644 --- a/phpBB/includes/style/style.php +++ b/phpBB/includes/style/style.php @@ -89,9 +89,9 @@ class phpbb_style */ public function set_style() { - $style_name = $this->user->style['style_path']; + $style_path = $this->user->style['style_path']; $style_dirs = ($this->user->style['style_parent_id']) ? array_reverse(explode('/', $this->user->style['style_parent_tree'])) : array(); - $paths = array($this->get_style_path($style_name)); + $paths = array($this->get_style_path($style_path)); foreach ($style_dirs as $dir) { $paths[] = $this->get_style_path($dir); @@ -100,7 +100,7 @@ class phpbb_style // Add 'all' path, used as last fallback path by hooks and extensions $paths[] = $this->get_style_path('all'); - return $this->set_custom_style($style_name, $paths); + return $this->set_custom_style($style_path, $paths); } /** |