1
0
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:
Cameron
2015-05-13 02:38:31 -07:00
parent 3de9381d60
commit 523d591bb3

View File

@@ -142,7 +142,12 @@ class notify
if (!$blockOriginator || ($this->notify_prefs['event'][$id]['email'] != USEREMAIL))
{
$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'),
)
);
}
}