mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Guard more count() calls in common framework classes
This commit is contained in:
parent
3dbc600aa9
commit
e3a2c1a6aa
3 changed files with 3 additions and 3 deletions
|
|
@ -111,7 +111,7 @@ class LangParser
|
|||
foreach ($items as $item)
|
||||
{
|
||||
$name = strval($item['name']);
|
||||
if (count($item->item))
|
||||
if (@count($item->item))
|
||||
{
|
||||
$lang[$name] = array();
|
||||
self::_toArray($item->item, $lang[$name], $language);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue