mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix miscellaneous errors in PHP 8.0
https://xetown.com/questions/1494606
This commit is contained in:
parent
7e54b3add5
commit
198bb1b079
4 changed files with 14 additions and 6 deletions
|
|
@ -67,6 +67,14 @@ class spamfilterAdminController extends spamfilter
|
|||
|
||||
// Get updated values
|
||||
$vars = Context::getRequestVars();
|
||||
if (!isset($vars->target_devices) || !is_array($vars->target_devices))
|
||||
{
|
||||
$vars->target_devices = [];
|
||||
}
|
||||
if (!isset($vars->target_actions) || !is_array($vars->target_actions))
|
||||
{
|
||||
$vars->target_actions = [];
|
||||
}
|
||||
|
||||
// Check values
|
||||
if (!isset($config->captcha))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue