Correct array checks
Submitted by: Emil Barta
This commit is contained in:
parent
eeff194e32
commit
9f1f612973
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459630
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= openwebmail
|
||||
PORTVERSION= 2.53
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://openwebmail.acatysmoof.com/download/release/ \
|
||||
http://openwebmail.org/openwebmail/download/release/
|
||||
|
@ -69,7 +69,7 @@ diff -ruN openwebmail/shares/mailfilter.pl openwebmail-2.53_2/cgi-bin/openwebmai
|
||||
}
|
||||
}
|
||||
- if (!defined @{$r_attachments}) {
|
||||
+ if (!@{$r_attachments}) {
|
||||
+ if (!ref{$r_attachments}) {
|
||||
($header, $body, $r_attachments)=ow::mailparse::parse_rfc822block(\$currmessage);
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ diff -ruN openwebmail/shares/mailfilter.pl openwebmail-2.53_2/cgi-bin/openwebmai
|
||||
}
|
||||
}
|
||||
- if (!defined @{$r_attachments}) {
|
||||
+ if (!@{$r_attachments}) {
|
||||
+ if (!ref{$r_attachments}) {
|
||||
($header, $body, $r_attachments)=ow::mailparse::parse_rfc822block(\$currmessage);
|
||||
}
|
||||
# check attachments
|
||||
|
Loading…
Reference in New Issue
Block a user