Merge branch 'rhymix:master' into master

This commit is contained in:
Lastorder 2025-03-03 10:47:47 +09:00 committed by GitHub
commit e5b729f8e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
152 changed files with 2348 additions and 792 deletions

View file

@ -1438,7 +1438,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]))