Ignore:
Timestamp:
06/17/08 14:43:30 (16 years ago)
Author:
niltonneto
Message:

Versionamento feito pelo desenvolvedor (jakjr).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php

    r309 r317  
    256256                                //Cria vetor da ACL 
    257257                                $manager_acl = $this->functions->make_array_acl($manager['acl']); 
    258  
    259258                                //Pesquisa no Banco e pega os valores dos apps. 
    260259                                $query = "SELECT * FROM phpgw_expressoadmin_apps WHERE manager_lid = '" . $_GET['manager_lid'] . "' AND context = '" . $_GET['context'] . "'"; 
     
    327326                                { 
    328327                                        if ($first_time) 
    329                                                 $p->set_var($atribute, $manager_acl[$atribute] != '' ? 'checked' : ''); 
     328                                                $p->set_var($atribute, $manager_acl[$atribute] === '1' ? 'checked' : ''); 
    330329                                        else 
    331                                                 $p->set_var($atribute, $_POST[$atribute] != '' ? 'checked' : '');  
     330                                                $p->set_var($atribute, $_POST[$atribute] === '1' ? 'checked' : '');  
    332331                                } 
    333332                                // Setar os langs do tpl. 
Note: See TracChangeset for help on using the changeset viewer.