Ignore:
Timestamp:
09/12/08 16:53:27 (16 years ago)
Author:
niltonneto
Message:

Vide changelog do módulo.
http://www.expressolivre.org/dev/wiki/jabberit/changelog
Alterações feitas por Alexandre Correia
email: alexandrecorreia@…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/inc/jabberit_acl.inc.php

    r417 r423  
    1717        $apps = unserialize($GLOBALS['phpgw_info']['server']['apps_jabberit']); 
    1818        $flag = false; 
    19          
    20         foreach($apps as $tmp) 
     19 
     20        if( is_array($apps) ) 
    2121        { 
    22                 $app_enabled = substr($tmp,0,strpos($tmp,";")); 
    23   
    24                 if( $GLOBALS['phpgw_info']['flags']['currentapp'] == $app_enabled ) 
    25                         $flag = true; 
    26         }        
     22                foreach($apps as $tmp) 
     23                { 
     24                        $app_enabled = substr($tmp,0,strpos($tmp,";")); 
     25                        if( $GLOBALS['phpgw_info']['flags']['currentapp'] == $app_enabled ) 
     26                                $flag = true; 
     27                }        
     28        } 
    2729         
    2830        if ( $GLOBALS['phpgw_info']['user']['acl'][$i]['appname'] == 'jabberit_messenger' && ( $flag || $GLOBALS['phpgw_info']['flags']['currentapp'] == 'jabberit_messenger' )) 
Note: See TracChangeset for help on using the changeset viewer.