mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Fixed undefined offset of $action_params (#1020)
This commit is contained in:
parent
79116b2c27
commit
eb4ecfabb2
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class Ajax
|
||||||
|
|
||||||
// Exit if board is disabled via ON/OFF trigger or by admin
|
// Exit if board is disabled via ON/OFF trigger or by admin
|
||||||
if ($bb_cfg['board_disable'] || file_exists(BB_DISABLED)) {
|
if ($bb_cfg['board_disable'] || file_exists(BB_DISABLED)) {
|
||||||
if ($action_params[1] !== true) {
|
if (!isset($action_params[1]) || $action_params[1] !== true) {
|
||||||
if ($bb_cfg['board_disable']) {
|
if ($bb_cfg['board_disable']) {
|
||||||
$this->ajax_die($lang['BOARD_DISABLE']);
|
$this->ajax_die($lang['BOARD_DISABLE']);
|
||||||
} elseif (file_exists(BB_DISABLED)) {
|
} elseif (file_exists(BB_DISABLED)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue