Passed
Pull Request — release-2.1 (#6764)
by
unknown
04:59
created
other/install.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -970,7 +970,7 @@  discard block
 block discarded – undo
970 970
 	$incontext['continue'] = 1;
971 971
 
972 972
 	// Check Postgres setting
973
-	if ( $db_type === 'postgresql')
973
+	if ($db_type === 'postgresql')
974 974
 	{
975 975
 		load_database();
976 976
 		$result = $smcFunc['db_query']('', '
@@ -1310,7 +1310,7 @@  discard block
 block discarded – undo
1310 1310
 				$allowed_tld = download_ccSLD_list();
1311 1311
 				if (!empty($allowed_tld))
1312 1312
 				{
1313
-					foreach($allowed_tld as $value)
1313
+					foreach ($allowed_tld as $value)
1314 1314
 					{
1315 1315
 						$pattern = '/\.' . strtr($value, array('.' => '\.', '*' => '[^.]*?')) . '$/';
1316 1316
 						if (preg_match($pattern, $url_parts['host'], $matches, PREG_OFFSET_CAPTURE) === 1)
Please login to merge, or discard this patch.