aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notification_by_mail.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-04 22:40:28 +0000
committerrub <rub@piwigo.org>2007-03-04 22:40:28 +0000
commite06d9ae13df4563779988a251ebd11f58f091179 (patch)
tree1264f9b6a26fd9bc84c906d2932f5a3756baff7e /admin/notification_by_mail.php
parentbd3f9519fe5d13b8ca21021b8445d5e781cb538b (diff)
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
Diffstat (limited to 'admin/notification_by_mail.php')
-rw-r--r--admin/notification_by_mail.php3
1 files changed, 2 insertions, 1 deletions
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