mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Always load is_notice column
This commit is contained in:
parent
9cac59095b
commit
c97edded9d
1 changed files with 1 additions and 6 deletions
|
|
@ -660,7 +660,7 @@ class boardView extends board
|
|||
if(in_array('summary', $configColumList)) array_push($this->columnList, 'content');
|
||||
|
||||
// default column list add
|
||||
$defaultColumn = array('document_srl', 'module_srl', 'category_srl', 'lang_code', 'member_srl', 'last_update', 'comment_count', 'trackback_count', 'uploaded_count', 'status', 'regdate', 'title_bold', 'title_color');
|
||||
$defaultColumn = array('document_srl', 'module_srl', 'category_srl', 'lang_code', 'is_notice', 'member_srl', 'last_update', 'comment_count', 'trackback_count', 'uploaded_count', 'status', 'regdate', 'title_bold', 'title_color');
|
||||
|
||||
//TODO guestbook, blog style supports legacy codes.
|
||||
if($this->module_info->skin == 'xe_guestbook' || $this->module_info->default_style == 'blog')
|
||||
|
|
@ -672,11 +672,6 @@ class boardView extends board
|
|||
array_push($this->columnList, 'last_updater');
|
||||
}
|
||||
|
||||
// add is_notice
|
||||
if ($this->except_notice)
|
||||
{
|
||||
array_push($this->columnList, 'is_notice');
|
||||
}
|
||||
$this->columnList = array_unique(array_merge($this->columnList, $defaultColumn));
|
||||
|
||||
// add table name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue