mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
Fix the warning error in php 7.2 of the array error. use to countobj function.
This commit is contained in:
parent
b180270e08
commit
66568474bc
2 changed files with 2 additions and 2 deletions
|
|
@ -765,7 +765,7 @@ class documentModel extends document
|
|||
*/
|
||||
function _arrangeCategory(&$document_category, $list, $depth)
|
||||
{
|
||||
if(!count($list)) return;
|
||||
if(!countobj($list)) return;
|
||||
$idx = 0;
|
||||
$list_order = array();
|
||||
foreach($list as $key => $val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue