projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for errors in foreach when you didn't hit compose while in the session.
[squirrelmail.git]
/
src
/
view_header.php
diff --git
a/src/view_header.php
b/src/view_header.php
index ed3e7a9004a9843cf959868a78c7bac00f5c83d3..824c69f4ac1b52a31b786dd22367f3cb10617290 100644
(file)
--- a/
src/view_header.php
+++ b/
src/view_header.php
@@
-3,11
+3,10
@@
/**
* view_header.php
*
/**
* view_header.php
*
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* This is the code to view the message header.
*
* This is the code to view the message header.
*
+ * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
* @version $Id$
* @package squirrelmail
*/
@@
-27,6
+26,10
@@
require_once(SM_PATH . 'functions/url_parser.php');
function parse_viewheader($imapConnection,$id, $passed_ent_id) {
function parse_viewheader($imapConnection,$id, $passed_ent_id) {
+ $header_output = array();
+ $second = array();
+ $first = array();
+
if (!$passed_ent_id) {
$read=sqimap_run_command ($imapConnection, "FETCH $id BODY[HEADER]",
true, $a, $b, TRUE);
if (!$passed_ent_id) {
$read=sqimap_run_command ($imapConnection, "FETCH $id BODY[HEADER]",
true, $a, $b, TRUE);