Skip to content
Permalink
Browse files

fixes #713, use the default language to send email

and not only to build the email body message
  • Loading branch information...
plegall committed Jun 21, 2017
1 parent fffd351 commit d542de77c39017c854ca2b9793534ee1ae8f1170
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/include/updates.class.php
@@ -208,8 +208,6 @@ function notify_piwigo_new_versions()
$content.= "\n\n".l10n('It only takes a few clicks.');
$content.= "\n\n".l10n('Running on an up-to-date Piwigo is important for security.');
switch_lang_back();
pwg_mail_admins(
array(
'subject' => l10n('Piwigo %s is available, please update', $new_versions_string),
@@ -223,6 +221,8 @@ function notify_piwigo_new_versions()
true // only webmasters
);
switch_lang_back();
// save notify
conf_update_param(
'update_notify_last_notification',

0 comments on commit d542de7

Please sign in to comment.
You can’t perform that action at this time.