mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
issue 2208 added grant only manager in sitemap
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11992 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a9b0429d9a
commit
d27214c4fc
5 changed files with 14 additions and 10 deletions
|
|
@ -269,7 +269,7 @@
|
|||
foreach($grant_list as $grant_name => $grant_info) {
|
||||
// Get the default value
|
||||
$default = Context::get($grant_name.'_default');
|
||||
// -1 = Log-in user only, -2 = site members only, 0 = all users
|
||||
// -1 = Log-in user only, -2 = site members only, -3 = manager only, 0 = all users
|
||||
if(strlen($default)){
|
||||
$grant->{$grant_name}[] = $default;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue