Changeset 5472


Ignore:
Timestamp:
02/03/12 15:00:27 (12 years ago)
Author:
rafaelraymundo
Message:

Ticket #2467 - Erro ao trocar o status de um compromisso em agenda compartilhada

Location:
branches/2.3/calendar/inc
Files:
2 edited

Legend:

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

    r4920 r5472  
    29462946                        } 
    29472947                        $event = $this->so->read_entry($cal_id); 
    2948                         $account_id = $GLOBALS['phpgw_info']['user']['account_id']; 
     2948                        //$account_id = $GLOBALS['phpgw_info']['user']['account_id']; 
     2949                        $account_id = $this->owner; 
    29492950                        if(($status2msg[$status] == "5" && $event['participants'][$account_id] == "A") || 
    29502951                         ($status2msg[$status] == "3" && $event['participants'][$account_id] == "R")) { 
  • branches/2.3/calendar/inc/class.uicalendar.inc.php

    r4785 r5472  
    21792179                                } 
    21802180                                 
    2181                                 $event['participants'] = Array($_SESSION['phpgw_info']['expressomail']['user']['account_id'] => $event['participants'][$_SESSION['phpgw_info']['expressomail']['user']['account_id']]); 
     2181                                //$event['participants'] = Array($_SESSION['phpgw_info']['expressomail']['user']['account_id'] => $event['participants'][$_SESSION['phpgw_info']['expressomail']['user']['account_id']]); 
     2182                                $event['participants'] = Array($GLOBALS['phpgw_info']['user']['account_id'] => $event['participants'][$GLOBALS['phpgw_info']['user']['account_id']]); 
    21822183 
    21832184                                $overlapping_events = $this->bo->overlap( 
Note: See TracChangeset for help on using the changeset viewer.