Browse Source

Swapped variables so view header displays correctly

indiri69 23 years ago
parent
commit
3a5092040b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/view_header.php

+ 2 - 2
src/view_header.php

@@ -19,7 +19,7 @@ function  parse_viewheader($imapConnection,$id,$template_vars) {
 
    $read=sqimap_run_command ($imapConnection, "FETCH $id BODY[HEADER]", 
                               true, $a, $b, $uid_support);
-    
+
     $cnum = 0;
     for ($i=1; $i < count($read); $i++) {
         $line = htmlspecialchars($read[$i]);
@@ -53,7 +53,7 @@ function  parse_viewheader($imapConnection,$id,$template_vars) {
         }
         parseEmail($s);
         if (isset($f)) {
-            $header_output[] = array($s,$f);               
+            $header_output[] = array($f,$s);
         }
     }