projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Swapped variables so view header displays correctly
[squirrelmail.git]
/
src
/
view_header.php
diff --git
a/src/view_header.php
b/src/view_header.php
index 6204b09cde4d3c61750c823da62e1050dbc92285..4d5d0dcc19000d2f8e3b6213a3123755684eb720 100644
(file)
--- a/
src/view_header.php
+++ b/
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);
$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]);
$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)) {
}
parseEmail($s);
if (isset($f)) {
- $header_output[] = array($
s,$f);
+ $header_output[] = array($
f,$s);
}
}
}
}