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