mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Issue 2208:SiteMap > support to grant is_admin
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12171 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0a34b5fb88
commit
2437096575
1 changed files with 3 additions and 4 deletions
|
|
@ -1387,9 +1387,9 @@
|
||||||
{
|
{
|
||||||
$args->group_srls = implode(',', $exposure);
|
$args->group_srls = implode(',', $exposure);
|
||||||
}
|
}
|
||||||
else if($exposure && !is_array($exposure))
|
else if($exposure && in_array($exposure,array('-1','-3')))
|
||||||
{
|
{
|
||||||
$args->group_srls = -1;
|
$args->group_srls = $exposure;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1434,7 +1434,6 @@
|
||||||
}
|
}
|
||||||
$grant->{$group_srls} = array();
|
$grant->{$group_srls} = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(count($grant))
|
if(count($grant))
|
||||||
{
|
{
|
||||||
$oModuleController = getController('module');
|
$oModuleController = getController('module');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue