Passed
Push — master ( a54c9d...b24210 )
by
unknown
39s queued 10s
created
index.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1391,11 +1391,11 @@
 block discarded – undo
1391 1391
 
1392 1392
 <div id="footer">
1393 1393
     <?php
1394
-      # Show authorized user name (and address) and allow logout.
1394
+        # Show authorized user name (and address) and allow logout.
1395 1395
     if ($user) {
1396 1396
         echo("<a href=\"logout.php\" title=\"" .
1397
-          addslashes(__('Disconnect the current user')) .
1398
-          "\">" . addslashes(__('Log out')) . "<i class=\"fa fa-sign-out\"></i></a>");
1397
+            addslashes(__('Disconnect the current user')) .
1398
+            "\">" . addslashes(__('Log out')) . "<i class=\"fa fa-sign-out\"></i></a>");
1399 1399
     }
1400 1400
     ?>
1401 1401
 </div> <!-- Footer -->
Please login to merge, or discard this patch.
DBConnector.class.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,9 @@
 block discarded – undo
119 119
         if (isset($hxff)) {
120 120
             // Server is hidden behind a proxy.
121 121
             // Proxy for loopback ip might indicate spoofing
122
-            if (!in_array($hxff, array('127.0.0.1', '::1'))) $ip = $hxff;
122
+            if (!in_array($hxff, array('127.0.0.1', '::1'))) {
123
+                $ip = $hxff;
124
+            }
123 125
         } elseif (isset($_SERVER['REMOTE_ADDR'])) {
124 126
             // Client has direct access to the server.
125 127
             $ip = $_SERVER['REMOTE_ADDR'];
Please login to merge, or discard this patch.