summaryrefslogtreecommitdiff
path: root/security/mailzu/files/patch-templates_viewmail.template.php
diff options
context:
space:
mode:
authorKrzysztof <ports@bsdserwis.com>2025-02-03 21:22:24 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-02-03 21:24:07 +0300
commitaf1aff8f87166d72ddefcbbcbc8c464573d7a291 (patch)
treed894d46499ec64500d014e8b01f4d8bc46c6717e /security/mailzu/files/patch-templates_viewmail.template.php
parentdevel/py-id: Add py-id 1.5.0 (diff)
security/mailzu: Fix support php83 and minor patches
PR: 284535 MFH: 2025Q1
Diffstat (limited to 'security/mailzu/files/patch-templates_viewmail.template.php')
-rw-r--r--security/mailzu/files/patch-templates_viewmail.template.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/security/mailzu/files/patch-templates_viewmail.template.php b/security/mailzu/files/patch-templates_viewmail.template.php
index 64f4c1e50b21..612560763fdc 100644
--- a/security/mailzu/files/patch-templates_viewmail.template.php
+++ b/security/mailzu/files/patch-templates_viewmail.template.php
@@ -27,7 +27,17 @@
}
/**
-@@ -81,7 +81,9 @@ function MsgPrintHeader($struct,$hdr_list) {
+@@ -50,7 +50,8 @@ function endMessage() {
+ * $param The mime structure object and the specific header name
+ */
+ function MsgPrintHeader($struct,$hdr_list) {
+-
++ global $header_value;
++
+ foreach ($hdr_list as $hdr) {
+ $header_value = $struct->headers[strtolower($hdr)];
+ if (is_array($header_value)) {
+@@ -81,7 +82,9 @@ function MsgPrintHeader($struct,$hdr_list) {
function MsgPrintHeaderFull($struct,$hdr_list) {
foreach ($hdr_list as $hdr) {
@@ -38,7 +48,7 @@
if (!$header_value) continue;
if (is_array($header_value)) {
$value_array = $header_value;
-@@ -116,17 +118,17 @@ function MsgDisplayOptions($mail_id, $recip_email) {
+@@ -116,17 +119,17 @@ function MsgDisplayOptions($mail_id, $recip_email) {
<table class="stdFont" width="100%">
<tr>
<td align="left">
@@ -60,7 +70,7 @@
}
/**
-@@ -138,14 +140,14 @@ function MsgOriginalOptions() {
+@@ -138,14 +141,14 @@ function MsgOriginalOptions() {
<table width="100%">
<tr>
<td class="stdFont" align="right">