Fix: rights problem

This commit is contained in:
Regis Houssin 2011-05-27 12:59:57 +00:00
parent b5e7b261ca
commit 34d7230a44
2 changed files with 111 additions and 111 deletions

View File

@ -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')
{ {