Bug with variables replacement and Crowdin localization fix.

This commit is contained in:
Yuriy Pikhtarev 2017-05-23 23:14:01 +03:00
commit b73d4cf490
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
169 changed files with 337 additions and 338 deletions

View file

@ -76,7 +76,7 @@ switch ($mode) {
}
}
// Отключение регистрации
if ($bb_cfg['new_user_reg_disabled'] || ($bb_cfg['reg_email_activation'] && $bb_cfg['emailer_disabled'])) {
if ($bb_cfg['new_user_reg_disabled'] || ($bb_cfg['reg_email_activation'] && !$bb_cfg['emailer']['enabled'])) {
bb_die($lang['NEW_USER_REG_DISABLED']);
} // Ограничение по времени
elseif ($bb_cfg['new_user_reg_restricted']) {

View file

@ -29,7 +29,7 @@ if (!defined('IN_FORUM')) {
set_die_append_msg();
if ($bb_cfg['emailer_disabled']) {
if (!$bb_cfg['emailer']['enabled']) {
bb_die($lang['EMAILER_DISABLED']);
}