Passed
Push — development ( 99aa7b...924c99 )
by Spuds
01:08 queued 20s
created
sources/ElkArte/UrlGenerator/Semantic/Profile.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 	 * {@inheritDoc}
30 30
 	 */
31 31
     public function generate($params)
32
-	{
32
+    {
33 33
 		// Detect sprintf/substitution tokens so they survive for later sprintf()
34 34
 		$name = isset($params['name']) ? $params['name'] : '';
35 35
 		$u = isset($params['u']) ? $params['u'] : 0;
Please login to merge, or discard this patch.
sources/Security.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1710,10 +1710,13 @@
 block discarded – undo
1710 1710
 		if ($result[0] === 127 // Valid Response
1711 1711
 			&& ($result[3] & 3 || $result[3] & 5) // Listed as Suspicious + Harvester || Suspicious + Comment Spammer
1712 1712
 			&& $result[2] >= $modSettings['badbehavior_httpbl_threat'] // Level
1713
-			&& $result[1] <= $modSettings['badbehavior_httpbl_maxage']) // Age
1713
+			&& $result[1] <= $modSettings['badbehavior_httpbl_maxage'])
1714
+		{
1715
+			// Age
1714 1716
 		{
1715 1717
 			return 'honey pot';
1716 1718
 		}
1719
+		}
1717 1720
 	}
1718 1721
 
1719 1722
 	return false;
Please login to merge, or discard this patch.