Changeset 7439


Ignore:
Timestamp:
10/18/12 09:21:25 (7 years ago)
Author:
eduardow
Message:

Ticket #3166 - Eventos excluídos quando participantes rejeitam.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/calendar/inc/class.bocalendar.inc.php

    r5845 r7439  
    28662866 
    28672867                        //verifica se todos os participantes rejeitaram o evento 
    2868                         while( $sts[0] && $sts[0] === 'R' ) array_pop( $sts ); 
     2868                        for($i = 0; $i < count($sts); $i++ ){   
     2869                    if( $sts[i] === "R")  
     2870                            unset( $sts[i] );  
     2871            }  
    28692872 
    28702873                        if( empty( $sts ) ) 
Note: See TracChangeset for help on using the changeset viewer.