mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2119 being allowed to set 0 as category_srl
This commit is contained in:
parent
b8465cc022
commit
73c60b1297
2 changed files with 29 additions and 1 deletions
|
|
@ -926,7 +926,7 @@ class BoardView extends Board
|
|||
/**
|
||||
* add JS filters
|
||||
**/
|
||||
if(Context::get('logged_info')->is_admin == 'Y' || $this->module_info->allow_no_category == 'Y')
|
||||
if($this->grant->manager || $this->module_info->allow_no_category == 'Y')
|
||||
{
|
||||
Context::addJsFilter($this->module_path.'tpl/filter', 'insert_admin.xml');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue