Ignore:
Timestamp:
01/11/13 08:48:41 (11 years ago)
Author:
marcieli
Message:

Ticket #3236 - Correcoes de seguranca com base no segundo relatorio emitido.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.boholiday.inc.php

    r7712 r7730  
    387387 
    388388                        $temp_locale = $GLOBALS['phpgw_info']['user']['preferences']['common']['country']; 
    389                         for($i=0;$i<count($holidays);++$i) 
     389            $holidays_count = count($holidays); 
     390                        for($i=0;$i<$holidays_count;++$i) 
    390391                        { 
    391392                                $c = $i; 
     
    442443                        else 
    443444                        { 
    444                                 $str = $GLOBALS['phpgw']->common->dateformatorder($holiday['occurence']>1900?$holiday['occurence']:'',$month,$holiday[day]); 
     445                                $str = $GLOBALS['phpgw']->common->dateformatorder($holiday['occurence']>1900?$holiday['occurence']:'',$month,$holiday['day']); 
    445446                        } 
    446447                        if ($holiday['observance_rule']) 
Note: See TracChangeset for help on using the changeset viewer.