From e0d7bbf4116047c6504f76e839adbd61557de722 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 30 Aug 2007 21:51:29 +0000 Subject: [PATCH] Fix unknown variable notice git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12642 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index a814cd6c..17e19fb3 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -376,6 +376,10 @@ function formatEnvheader($aMailbox, $passed_id, $passed_ent_id, $message, $oTemplate->assign('xmailer', decodeHeader($header->xmailer)); $env[_("Mailer")] = $oTemplate->fetch('read_xmailer.tpl'); } + + // this is used for both mdn and also general use for plugins, etc + $oTemplate->assign('first_time_reading', $FirstTimeSee); + if ($default_use_mdn) { if ($mdn_user_support) { if ($header->dnt) { @@ -393,9 +397,6 @@ function formatEnvheader($aMailbox, $passed_id, $passed_ent_id, $message, } } - // this is used for both mdn and also general use for plugins, etc - $oTemplate->assign('first_time_reading', $FirstTimeSee); - $statuses = array(); if (isset($aMailbox['MSG_HEADERS'][$passed_id]['FLAGS'])) { if (isset($aMailbox['MSG_HEADERS'][$passed_id]['FLAGS']['\\deleted']) && -- 2.25.1