Passed
Push — dpa_admin2 ( 78687b )
by David
31:26 queued 20:11
created
html/inc/db_ops.inc 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -379,13 +379,13 @@  discard block
 block discarded – undo
379 379
 
380 380
 
381 381
 function link_results($n, $mq, $query, $clauses) {
382
-    if ($n == '0') { // intentional compare by string
382
+    if ($n == '0') {
383
+// intentional compare by string
383 384
         return "0";
384 385
     } else {
385 386
         if(strlen($clauses)) {
386 387
             return "<a href=\"db_action.php?table=result&query=$mq&$query&clauses=".urlencode($clauses)."&sort_by=mod_time&detail=low\">$n</a>";
387
-        }
388
-        else {
388
+        } else {
389 389
             return "<a href=\"db_action.php?table=result&query=$mq&$query&sort_by=mod_time&detail=low\">$n</a>";
390 390
         }
391 391
 
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
 // @return String A human readable string if error otherwise FALSE
397 397
 // @param String $stderr_out the stderr_out value to parse
398 398
 //
399
-function stderr_error_string($stderr_out){
399
+function stderr_error_string($stderr_out) {
400 400
     $y = parse_element($stderr_out, "<error_code>");
401 401
     $x = 0;
402 402
     if ($y) {
@@ -1174,7 +1174,7 @@  discard block
 block discarded – undo
1174 1174
         // result has not been received yet, so show report deadline either
1175 1175
         // in green if in the future or in red if in the past.
1176 1176
         $timenow=time();
1177
-        if ($result->report_deadline==0)  {
1177
+        if ($result->report_deadline==0) {
1178 1178
             // not sent -- show create time in purple
1179 1179
             $received = "<font color=\"9900cc\">". time_str($result->create_time) . "</font>";
1180 1180
         } else if ($result->report_deadline>=$timenow) {
Please login to merge, or discard this patch.