Changeset 7436 for trunk


Ignore:
Timestamp:
10/17/12 16:34:17 (11 years ago)
Author:
douglasz
Message:

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

File:
1 edited

Legend:

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

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