@@ -59,11 +59,11 @@ |
||
59 | 59 | * to fix relative paths for forum images |
60 | 60 | */ |
61 | 61 | global $phpbb_root_path; |
62 | - $phpbb_root_path = generate_board_url() . '/'; |
|
62 | + $phpbb_root_path = generate_board_url().'/'; |
|
63 | 63 | |
64 | 64 | if (!function_exists('display_forums')) |
65 | 65 | { |
66 | - include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext); // @codeCoverageIgnore |
|
66 | + include($this->phpbb_root_path.'includes/functions_display.'.$this->php_ext); // @codeCoverageIgnore |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | display_forums('', $this->config['load_moderators']); |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | */ |
137 | 137 | public function set_item_icon($icon) |
138 | 138 | { |
139 | - $this->item_icon = ($icon) ? trim($icon) . ' ' : ''; |
|
139 | + $this->item_icon = ($icon) ? trim($icon).' ' : ''; |
|
140 | 140 | return $this; |
141 | 141 | } |
142 | 142 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | // having to edit menu items, we add app.php/ for all extension routes |
155 | 155 | if (strpos($this->item_url, 'app.php') === false && $this->is_extension_route($this->item_url)) |
156 | 156 | { |
157 | - $this->item_url = 'app.php/' . $this->item_url; |
|
157 | + $this->item_url = 'app.php/'.$this->item_url; |
|
158 | 158 | } |
159 | 159 | |
160 | 160 | return $this; |
@@ -201,6 +201,6 @@ discard block |
||
201 | 201 | */ |
202 | 202 | private function add_board_url($item_url) |
203 | 203 | { |
204 | - return $this->board_url . ($item_url[0] === '/' ? '' : '/') . $item_url; |
|
204 | + return $this->board_url.($item_url[0] === '/' ? '' : '/').$item_url; |
|
205 | 205 | } |
206 | 206 | } |