Test Failed
Push — main ( fafdd8...293136 )
by chief
03:47 queued 13s
created
web/public/s/classes/config.inc.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@  discard block
 block discarded – undo
40 40
             ]
41 41
         );
42 42
         $__server->db_properties->db_connected = true;
43
-    }
44
-    catch(PDOException $e)
43
+    } catch(PDOException $e)
45 44
     {
46 45
         die("An error occured connecting to the database: ".$e->getMessage());
47 46
     }
@@ -55,7 +54,8 @@  discard block
 block discarded – undo
55 54
 
56 55
 	while($ban = $stmt->fetch(PDO::FETCH_ASSOC)) { 
57 56
         $ban_info = $ban;
58
-        if($_SERVER['REQUEST_URI'] != "/ban")
59
-		    header("Location: /ban");
57
+        if($_SERVER['REQUEST_URI'] != "/ban") {
58
+        		    header("Location: /ban");
59
+        }
60 60
 	}
61 61
 ?>
62 62
\ No newline at end of file
Please login to merge, or discard this patch.