Ignore:
Timestamp:
10/10/13 17:22:22 (11 years ago)
Author:
angelo
Message:

Ticket #3491 - Compatibilizar Expresso com novas versoes do PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-evolucao/expressoAdmin1_2/inc/class.db_functions.inc.php

    r8231 r8236  
    238238                        $user_in_group[] = $this->db->row(); 
    239239                 
    240                 if (count($user_in_group) == 0) 
     240                if (!isset($user_in_group) || count($user_in_group) == 0) 
    241241                { 
    242242                        $sql = "INSERT INTO phpgw_acl (acl_appname, acl_location, acl_account, acl_rights) " 
Note: See TracChangeset for help on using the changeset viewer.