Completed
Pull Request — master (#26)
by Daniel
11:08 queued 09:06
created
acp/settings_module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 			 */
147 147
 			extract($this->phpbb_dispatcher->trigger_event('blitze_sitemaker.acp_save_settings'));
148 148
 
149
-			$this->trigger_error($this->translator->lang('SETTINGS_SAVED') . adm_back_link($this->u_action));
149
+			$this->trigger_error($this->translator->lang('SETTINGS_SAVED').adm_back_link($this->u_action));
150 150
 		}
151 151
 	}
152 152
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	{
170 170
 		$style_prefs = (array) json_decode($this->config_text->get('sm_layout_prefs'), true);
171 171
 
172
-		$result = $this->db->sql_query('SELECT style_id, style_name FROM ' . STYLES_TABLE);
172
+		$result = $this->db->sql_query('SELECT style_id, style_name FROM '.STYLES_TABLE);
173 173
 
174 174
 		$styles = array();
175 175
 		while ($row = $this->db->sql_fetchrow($result))
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 			$path = dirname($path);
237 237
 			$name = basename($path);
238 238
 
239
-			$layouts[$name] = $this->phpbb_root_path . $path . '/';
239
+			$layouts[$name] = $this->phpbb_root_path.$path.'/';
240 240
 		}
241 241
 		ksort($layouts);
242 242
 
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 			$id = $entity->get_menu_id();
290 290
 			$name = $entity->get_menu_name();
291 291
 			$selected = ($id == $this->config['sm_navbar_menu']) ? ' selected="selected"' : '';
292
-			$options .= '<option value="' . $id . '"' . $selected . '>' . $name . '</option>';
292
+			$options .= '<option value="'.$id.'"'.$selected.'>'.$name.'</option>';
293 293
 		}
294 294
 
295 295
 		return $options;
Please login to merge, or discard this patch.