mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +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
|
|
@ -77,7 +77,7 @@ class commentItem extends BaseObject
|
|||
$this->adds($attribute);
|
||||
|
||||
// define vars on the object for backward compatibility of skins
|
||||
if(count($attribute))
|
||||
if(countobj($attribute))
|
||||
{
|
||||
foreach($attribute as $key => $val)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue