mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 13:52:35 +02:00
Issue #4299 - PHP8 compatibility fixes.
This commit is contained in:
@@ -595,7 +595,7 @@ class e107MailManager
|
||||
case MAIL_STATUS_HELD :
|
||||
return LAN_MAILOUT_217;
|
||||
default :
|
||||
if (($status > MAIL_STATUS_PENDING) && ($status <= MAIL_STATUS_ACTIVE))
|
||||
if (($status > defset('MAIL_STATUS_PENDING')) && ($status <= defset('MAIL_STATUS_ACTIVE')))
|
||||
{
|
||||
return LAN_MAILOUT_214;
|
||||
}
|
||||
|
Reference in New Issue
Block a user