Fix operators precedence
This commit is contained in:
parent
b6f208eb56
commit
1a22625774
1 changed files with 2 additions and 2 deletions
|
@ -963,8 +963,8 @@ class Update extends Admin
|
|||
$this->c->config->i_report_method = $this->c->config->o_report_method ?? 0;
|
||||
$this->c->config->i_default_user_group = $this->c->config->o_default_user_group ?? $this->c->GROUP_MEMBER;
|
||||
$this->c->config->a_max_users = [
|
||||
'number' => (int) $this->c->config->st_max_users ?? 1,
|
||||
'time' => (int) $this->c->config->st_max_users_time ?? \time(),
|
||||
'number' => (int) ($this->c->config->st_max_users ?? 1),
|
||||
'time' => (int) ($this->c->config->st_max_users_time ?? \time()),
|
||||
];
|
||||
|
||||
unset($this->c->config->o_enable_acaptcha);
|
||||
|
|
Loading…
Add table
Reference in a new issue