2d6a8eb0 by Marty Penner

One more attempt to get "sent_date" working for the email cron

1 parent 18f9cc2d
......@@ -6,7 +6,6 @@ use Tz\WordPress\CBV;
use Tz\WordPress\CBV\User;
use Tz\WordPress\Tools;
use Tz\WordPress\Tools\Sequencer;
use WP_User;
const OPTION_NAME = 'notif_options';
const NOTIFICATION_STATUS_READ = 'read';
......@@ -293,7 +292,7 @@ function send_triggered_notification($uid = 0, $trigger = "NO_TRIGGER", $args =
'attachment2' => $att2,
'attachment3' => $att3,
'sent' => (int)$sentSuccessfully,
'sent_date' => ''
'sent_date' => CBV\tz_date('Y-m-d H:i:s')
],
[
'%d',
......