mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix type error when category_srl contains an array
This commit is contained in:
parent
d7f2201905
commit
bcc11f253a
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ class DocumentModel extends Document
|
|||
}
|
||||
|
||||
// add subcategories
|
||||
if(isset($args->category_srl) && $args->category_srl)
|
||||
if(isset($args->category_srl) && $args->category_srl && !is_array($args->category_srl))
|
||||
{
|
||||
$category_list = self::getCategoryList($args->module_srl);
|
||||
if(isset($category_list[$args->category_srl]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue