@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | // @codeCoverageIgnoreStart |
23 | 23 | if (!function_exists('make_forum_select')) |
24 | 24 | { |
25 | - include($phpbb_root_path . 'includes/functions_admin.' . $php_ext); |
|
25 | + include($phpbb_root_path.'includes/functions_admin.'.$php_ext); |
|
26 | 26 | } |
27 | 27 | // @codeCoverageIgnoreEnd |
28 | 28 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $forum_options = array('' => 'ALL'); |
44 | 44 | foreach ($forumlist as $row) |
45 | 45 | { |
46 | - $forum_options[$row['forum_id']] = $row['padding'] . $row['forum_name']; |
|
46 | + $forum_options[$row['forum_id']] = $row['padding'].$row['forum_name']; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | return $forum_options; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | // @codeCoverageIgnoreStart |
64 | 64 | if (!function_exists('validate_config_vars')) |
65 | 65 | { |
66 | - include($this->phpbb_root_path . 'includes/functions_acp.' . $this->php_ext); |
|
66 | + include($this->phpbb_root_path.'includes/functions_acp.'.$this->php_ext); |
|
67 | 67 | } |
68 | 68 | // @codeCoverageIgnoreEnd |
69 | 69 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | // @codeCoverageIgnoreStart |
86 | 86 | if (!function_exists('validate_config_vars')) |
87 | 87 | { |
88 | - include($this->phpbb_root_path . 'includes/functions_acp.' . $this->php_ext); |
|
88 | + include($this->phpbb_root_path.'includes/functions_acp.'.$this->php_ext); |
|
89 | 89 | } |
90 | 90 | // @codeCoverageIgnoreEnd |
91 | 91 | |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | $vars['append'] = $this->append_field($vars); |
174 | 174 | |
175 | 175 | $type = explode(':', $vars['type']); |
176 | - $method = 'prep_' . $type[0] . '_field_for_display'; |
|
176 | + $method = 'prep_'.$type[0].'_field_for_display'; |
|
177 | 177 | |
178 | 178 | if (is_callable(array($this, $method))) |
179 | 179 | { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | $l_explain = ''; |
218 | 218 | if (!empty($vars['explain'])) |
219 | 219 | { |
220 | - $l_explain = (isset($vars['lang_explain'])) ? $this->translator->lang($vars['lang_explain']) : $this->translator->lang($vars['lang'] . '_EXPLAIN'); |
|
220 | + $l_explain = (isset($vars['lang_explain'])) ? $this->translator->lang($vars['lang_explain']) : $this->translator->lang($vars['lang'].'_EXPLAIN'); |
|
221 | 221 | } |
222 | 222 | |
223 | 223 | return $l_explain; |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | { |
318 | 318 | $this->prep_checkbox_field_for_display($vars, $type, $field); |
319 | 319 | |
320 | - $vars['method'] ='build_multi_select'; |
|
320 | + $vars['method'] = 'build_multi_select'; |
|
321 | 321 | } |
322 | 322 | |
323 | 323 | /** |
@@ -41,8 +41,7 @@ |
||
41 | 41 | if (is_array($message)) |
42 | 42 | { |
43 | 43 | $this->message = (string) $message[0]; |
44 | - } |
|
45 | - else |
|
44 | + } else |
|
46 | 45 | { |
47 | 46 | $this->message = $message; |
48 | 47 | } |