mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Always include self in category list (#2400 보완)
This commit is contained in:
parent
d371c9c872
commit
e2ac12e76a
1 changed files with 5 additions and 2 deletions
|
|
@ -233,10 +233,13 @@ class BoardView extends Board
|
|||
}
|
||||
else
|
||||
{
|
||||
$category_list = array();
|
||||
$category_list = DocumentModel::getCategoryList($this->module_srl);
|
||||
foreach ($this->include_modules as $module_srl)
|
||||
{
|
||||
$category_list += DocumentModel::getCategoryList($module_srl);
|
||||
if ($module_srl != $this->module_srl)
|
||||
{
|
||||
$category_list += DocumentModel::getCategoryList($module_srl);
|
||||
}
|
||||
}
|
||||
}
|
||||
Context::set('category_list', $category_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue