mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Fix #1569 add option to control whether notices are included in combined board
This commit is contained in:
parent
06f973d227
commit
77403f384a
5 changed files with 23 additions and 3 deletions
|
|
@ -464,7 +464,14 @@ class boardView extends board
|
|||
}
|
||||
|
||||
$args = new stdClass();
|
||||
$args->module_srl = $this->include_modules ?: $this->module_srl;
|
||||
if (isset($this->module_info->include_notice) && $this->module_info->include_notice === 'N')
|
||||
{
|
||||
$args->module_srl = $this->module_srl;
|
||||
}
|
||||
else
|
||||
{
|
||||
$args->module_srl = $this->include_modules ?: $this->module_srl;
|
||||
}
|
||||
$output = DocumentModel::getNoticeList($args, $this->columnList);
|
||||
$notice_list = $output->data;
|
||||
$this->_fillModuleTitles($notice_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue