mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions.php
This commit is contained in:
parent
ab9853cdd4
commit
6abe154967
@ -2849,7 +2849,7 @@ function bb_captcha ($mode, $callback = '')
|
||||
$public = $bb_cfg['captcha']['public_key'];
|
||||
$theme = isset($bb_cfg['captcha']['theme']) ? $bb_cfg['captcha']['theme'] : 'light';
|
||||
|
||||
if (!$bb_cfg['captcha']['disabled'] && (!$public || !$secret))
|
||||
if ($bb_cfg['captcha']['disabled'] || !$public || !$secret)
|
||||
{
|
||||
bb_die($lang['CAPTCHA_SETTINGS']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user