Test Failed
Pull Request — main (#31)
by
unknown
03:03
created
web/public/admin/index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,9 @@
 block discarded – undo
26 26
 		$dif['idle'] = $info2[3] - $info1[3]; 
27 27
 		$total = array_sum($dif); 
28 28
 		$cpu = array(); 
29
-		foreach($dif as $x=>$y) $cpu[$x] = round($y / $total * 100, 1);
29
+		foreach($dif as $x=>$y) {
30
+		    $cpu[$x] = round($y / $total * 100, 1);
31
+		}
30 32
 
31 33
 		return $cpu;
32 34
 	}
Please login to merge, or discard this patch.
web/public/s/mod/sidebar_inbox.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,9 @@
 block discarded – undo
36 36
 </div>
37 37
     <ol class="navigation-menu">
38 38
         <?php foreach($__tabs as $_tab) { 
39
-            if($_SERVER['REQUEST_URI'] != $_tab->url)
40
-                $_tab->selected = true;
39
+            if($_SERVER['REQUEST_URI'] != $_tab->url) {
40
+                            $_tab->selected = true;
41
+            }
41 42
             ?>
42 43
             <li class="menu-item">
43 44
                 <a class="<?php echo $_tab->selected ? true : "selected"; ?>" href="<?php echo $_tab->url; ?>">
Please login to merge, or discard this patch.