Swapped variables so view header displays correctly
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Jul 2002 18:24:03 +0000 (18:24 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Jul 2002 18:24:03 +0000 (18:24 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3067 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/view_header.php

index 6204b09cde4d3c61750c823da62e1050dbc92285..4d5d0dcc19000d2f8e3b6213a3123755684eb720 100644 (file)
@@ -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);
         }
     }