mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix strict count() behavior in PHP 7.2
This commit is contained in:
parent
6f35f5bafc
commit
3992b4b5bc
6 changed files with 8 additions and 9 deletions
|
|
@ -305,7 +305,7 @@ class addonAdminModel extends addon
|
|||
$val->options = array($val->options);
|
||||
}
|
||||
|
||||
for($i = 0, $c = count($val->options); $i < $c; $i++)
|
||||
for($i = 0, $c = countobj($val->options); $i < $c; $i++)
|
||||
{
|
||||
$obj->options[$i] = new stdClass();
|
||||
$obj->options[$i]->title = $val->options[$i]->title->body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue