Fix: rights problem
This commit is contained in:
parent
b5e7b261ca
commit
34d7230a44
@ -49,7 +49,7 @@ print '<!-- Ajax page called with url '.$_SERVER["PHP_SELF"].'?'.$_SERVER["QUERY
|
|||||||
// Registering the location of boxes
|
// Registering the location of boxes
|
||||||
if((isset($_GET['action']) && ! empty($_GET['action'])) && (isset($_GET['name']) && ! empty($_GET['name'])) )
|
if((isset($_GET['action']) && ! empty($_GET['action'])) && (isset($_GET['name']) && ! empty($_GET['name'])) )
|
||||||
{
|
{
|
||||||
if ($user->admin && ! $user->entity)
|
if ($user->admin)
|
||||||
{
|
{
|
||||||
if ($_GET['action'] == 'set')
|
if ($_GET['action'] == 'set')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user