aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_notification_by_mail.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-09-22 21:10:40 +0000
committerplegall <plg@piwigo.org>2010-09-22 21:10:40 +0000
commit7bba167e5549db045153a7176fe589334a4cb208 (patch)
tree7e9c7b1f020f936d06b8291205e4f933ed5133db /admin/include/functions_notification_by_mail.inc.php
parent1289d4c933c05efb72aa646bae670ddf6b893069 (diff)
bug 1872 fixed: we need to call set_make_full_url() before creating urls provided in emails
git-svn-id: http://piwigo.org/svn/branches/2.1@7004 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/functions_notification_by_mail.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/include/functions_notification_by_mail.inc.php b/admin/include/functions_notification_by_mail.inc.php
index 31175b55c..51e3bcf73 100644
--- a/admin/include/functions_notification_by_mail.inc.php
+++ b/admin/include/functions_notification_by_mail.inc.php
@@ -360,6 +360,8 @@ function do_subscribe_unsubscribe_notification_by_mail($is_admin_request, $is_su
{
global $conf, $page, $env_nbm, $conf;
+ set_make_full_url();
+
$check_key_treated = array();
$updated_data_count = 0;
$error_on_updated_data_count = 0;
@@ -496,6 +498,8 @@ function do_subscribe_unsubscribe_notification_by_mail($is_admin_request, $is_su
$error_on_updated_data_count));
}
+ unset_make_full_url();
+
return $check_key_treated;
}