From e06d9ae13df4563779988a251ebd11f58f091179 Mon Sep 17 00:00:00 2001 From: rub Date: Sun, 4 Mar 2007 22:40:28 +0000 Subject: Add on $conf value of the function get_recent_post_dates git-svn-id: http://piwigo.org/svn/trunk@1871 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/notification_by_mail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'admin/notification_by_mail.php') diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php index 456235e04..0894afe4f 100644 --- a/admin/notification_by_mail.php +++ b/admin/notification_by_mail.php @@ -353,7 +353,8 @@ function do_action_send_mail_notification($action = 'list_to_send', $check_key_l if ($conf['nbm_send_html_mail'] and $conf['nbm_send_recent_post_dates']) { - $recent_post_dates = get_recent_post_dates(7, 3, 9); + $recent_post_dates = get_recent_post_dates_array( + $conf['recent_post_dates']['NBM']); foreach ($recent_post_dates as $date_detail) { $env_nbm['mail_template']->assign_block_vars -- cgit v1.2.3