Passed
Pull Request — release-2.1 (#5585)
by John
04:24
created
other/install.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1594,7 +1594,7 @@  discard block
 block discarded – undo
1594 1594
 			$incontext['error'] = $txt['error_invalid_characters_username'];
1595 1595
 			return false;
1596 1596
 		}
1597
-		elseif (empty($_POST['email']) || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) || strlen($_POST['email'])  > 255)
1597
+		elseif (empty($_POST['email']) || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) || strlen($_POST['email']) > 255)
1598 1598
 		{
1599 1599
 			// One step back, this time fill out a proper admin email address.
1600 1600
 			$incontext['error'] = sprintf($txt['error_valid_admin_email_needed'], $_POST['username']);
@@ -1783,8 +1783,7 @@  discard block
 block discarded – undo
1783 1783
 	updateStats('topic');
1784 1784
 
1785 1785
 	// This function is needed to do the updateStats('subject') call.
1786
-	$smcFunc['strtolower'] = $db_character_set != 'utf8' && $txt['lang_character_set'] != 'UTF-8' ? 'strtolower' :
1787
-		function($string)
1786
+	$smcFunc['strtolower'] = $db_character_set != 'utf8' && $txt['lang_character_set'] != 'UTF-8' ? 'strtolower' : function($string)
1788 1787
 		{
1789 1788
 			global $sourcedir;
1790 1789
 			if (function_exists('mb_strtolower'))
Please login to merge, or discard this patch.