Changeset 1956


Ignore:
Timestamp:
02/01/10 15:30:09 (14 years ago)
Author:
niltonneto
Message:

Ticket #773 - Trocada a condicao acl->check, nao bloqueia os acessos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/expressoAdmin1_2/inc/class.uigroups.inc.php

    r493 r1956  
    153153                        $p->set_var($var); 
    154154 
    155                         if (! $GLOBALS['phpgw']->acl->check('group_access',4,'admin')) 
     155                        if (! $GLOBALS['phpgw']->acl->check('run',4,'admin')) 
    156156                        { 
    157157                                $p->set_var('input_add','<input type="submit" value="' . lang('Add') . '">'); 
    158158                        } 
    159                         if (! $GLOBALS['phpgw']->acl->check('group_access',2,'admin')) 
     159                        if (! $GLOBALS['phpgw']->acl->check('run',2,'admin')) 
    160160                        { 
    161161                                $p->set_var('input_search',lang('Search') . '&nbsp;<input name="query" value="'.htmlspecialchars(stripslashes($GLOBALS['query'])).'">'); 
Note: See TracChangeset for help on using the changeset viewer.