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
This commit is contained in:
parent
1289d4c933
commit
7bba167e55
1 changed files with 4 additions and 0 deletions
|
@ -360,6 +360,8 @@ function do_subscribe_unsubscribe_notification_by_mail($is_admin_request, $is_su
|
||||||
{
|
{
|
||||||
global $conf, $page, $env_nbm, $conf;
|
global $conf, $page, $env_nbm, $conf;
|
||||||
|
|
||||||
|
set_make_full_url();
|
||||||
|
|
||||||
$check_key_treated = array();
|
$check_key_treated = array();
|
||||||
$updated_data_count = 0;
|
$updated_data_count = 0;
|
||||||
$error_on_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));
|
$error_on_updated_data_count));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unset_make_full_url();
|
||||||
|
|
||||||
return $check_key_treated;
|
return $check_key_treated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue