Changeset 7980 for trunk/prototype/modules/calendar/schedules.php
- Timestamp:
- 03/08/13 11:50:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/schedules.php
r7956 r7980 161 161 $attend = Controller::read(array('concept' => 'participant'), null, array('filter' => array('AND', array('=','schedulable',$v['id']), array('=','user', Config::me('uidNumber')) ))); 162 162 163 $result[$i]['unanswered'] = 0; 164 163 165 if(count($attend) > 0 && !empty($attend)){ 164 165 166 if(array_key_exists(0, $attend)) 166 167 $attend = $attend[0]; 167 168 168 169 $result[$i]['editable'] = (strstr($attend['acl'],"w") || strstr($attend['acl'],"o") || $attend['isOrganizer'] == '1') ? 1 : 0; 170 171 if($attend['status'] == STATUS_UNANSWERED) 172 $result[$i]['unanswered'] = 1; 169 173 170 174 }else{
Note: See TracChangeset
for help on using the changeset viewer.