- fixed translations for email notifications

This commit is contained in:
nikitozzzzzzz
2018-10-11 12:47:32 +03:00
parent 0ffdaa60f6
commit 73ba2681fe
2 changed files with 2 additions and 4 deletions
@@ -286,8 +286,8 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
$language_codes = $this->get_languages_codes();
$lang = '';
if ( $language_codes['default'] != $language_codes['current'] &&
UM()->config()->email_notifications[ $template_name ]['recipient'] != 'admin' ) {
if ( $language_codes['default'] != $language_codes['current'] /*&&
UM()->config()->email_notifications[ $template_name ]['recipient'] != 'admin'*/ ) {
$lang = $language_codes['current'] . '/';
}