Completed
Push — develop ( 86b038...fd19b8 )
by Daniel
09:51
created
acp/settings_module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 			$this->config->set('sm_forum_icon', $this->request->variable('forum_icon', ''));
142 142
 			$this->config->set('sm_navbar_menu', $this->request->variable('navbar_menu', 0));
143 143
 
144
-			$this->trigger_error($this->translator->lang('SETTINGS_SAVED') . adm_back_link($this->u_action));
144
+			$this->trigger_error($this->translator->lang('SETTINGS_SAVED').adm_back_link($this->u_action));
145 145
 		}
146 146
 	}
147 147
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 	{
154 154
 		$style_prefs = (array) json_decode($this->config_text->get('sm_layout_prefs'), true);
155 155
 
156
-		$result = $this->db->sql_query('SELECT style_id, style_name FROM ' . STYLES_TABLE);
156
+		$result = $this->db->sql_query('SELECT style_id, style_name FROM '.STYLES_TABLE);
157 157
 
158 158
 		$styles = array();
159 159
 		while ($row = $this->db->sql_fetchrow($result))
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 			$path = dirname($path);
232 232
 			$name = basename($path);
233 233
 
234
-			$layouts[$name] = $this->phpbb_root_path . $path . '/';
234
+			$layouts[$name] = $this->phpbb_root_path.$path.'/';
235 235
 		}
236 236
 		ksort($layouts);
237 237
 
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 			$id = $entity->get_menu_id();
255 255
 			$name = $entity->get_menu_name();
256 256
 			$selected = ($id == $this->config['sm_navbar_menu']) ? ' selected="selected"' : '';
257
-			$options .= '<option value="' . $id . '"' . $selected . '>' . $name . '</option>';
257
+			$options .= '<option value="'.$id.'"'.$selected.'>'.$name.'</option>';
258 258
 		}
259 259
 
260 260
 		return $options;
Please login to merge, or discard this patch.