mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Select ipaddress column by default if current user is a manager
This commit is contained in:
parent
406b1c956f
commit
cec183d59e
1 changed files with 4 additions and 0 deletions
|
|
@ -669,6 +669,10 @@ class BoardView extends Board
|
|||
|
||||
// List of columns selected by the user
|
||||
$selectedColumnList = array_keys($this->listConfig);
|
||||
if ($this->grant->manager)
|
||||
{
|
||||
$selectedColumnList[] = 'ipaddress';
|
||||
}
|
||||
|
||||
// Return all columns for some legacy skins
|
||||
if($this->module_info->skin == 'xe_guestbook' || ($this->module_info->default_style ?? '') == 'blog')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue