mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 16:17:14 +02:00
Include date shortcodes in notify send method.
This commit is contained in:
@@ -142,8 +142,13 @@ class notify
|
|||||||
if (!$blockOriginator || ($this->notify_prefs['event'][$id]['email'] != USEREMAIL))
|
if (!$blockOriginator || ($this->notify_prefs['event'][$id]['email'] != USEREMAIL))
|
||||||
{
|
{
|
||||||
$recipients[] = array(
|
$recipients[] = array(
|
||||||
'mail_recipient_email' => $this->notify_prefs['event'][$id]['email']
|
'mail_recipient_email' => $this->notify_prefs['event'][$id]['email'],
|
||||||
);
|
'mail_target_info' => array(
|
||||||
|
'SUBJECT' => $subject,
|
||||||
|
'DATE_SHORT' => $tp->toDate(time(),'short'),
|
||||||
|
'DATE_LONG' => $tp->toDate(time(),'long'),
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (is_numeric($notifyTarget))
|
elseif (is_numeric($notifyTarget))
|
||||||
|
Reference in New Issue
Block a user