Changeset 3704 for branches/2.2/workflow/inc/class.bo_participants.inc.php
- Timestamp:
- 01/18/11 17:08:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/workflow/inc/class.bo_participants.inc.php
r3167 r3704 64 64 } 65 65 66 $id = ($params['id'] === 'mail') ? 'mail' : 'id'; 67 $usePreffix = ($params['usePreffix'] == true) ? true : false; 66 if($params['id'] === 'mail') 67 { 68 $id = 'mail'; 69 $usePreffix = false; 70 } 71 else 72 { 73 $id = 'id'; 74 $usePreffix = ($params['usePreffix'] == true) ? true : false; 75 } 68 76 69 77 $output = array(); … … 189 197 if (!$raw) 190 198 { 191 $id = ($params['id'] === 'mail') ? 'mail' : 'id'; 192 $usePreffix = ($params['usePreffix'] == true) ? true : false; 199 if($params['id'] === 'mail') 200 { 201 $id = 'mail'; 202 $usePreffix = false; 203 } 204 else 205 { 206 $id = 'id'; 207 $usePreffix = ($params['usePreffix'] == true) ? true : false; 208 } 193 209 194 210 $newOutput = array();
Note: See TracChangeset
for help on using the changeset viewer.