Changeset 1287
- Timestamp:
- 08/06/09 18:13:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.bo_group_manager.inc.php
r2 r1287 60 60 if (!$found) 61 61 { 62 62 63 return $this->sql_find($what, $rules, $other); 63 64 } 65 if ($rules and is_array($rules)) 66 { 67 array_push($rules, array( 68 'field' => 'group.owner', 69 'type' => '=', 70 'value' => $GLOBALS['phpgw_info']['user']['account_id'] 71 )); 72 } 73 else 74 { 75 $rules = array( 76 0 => array( 77 'field' => 'group.owner', 78 'type' => '=', 79 'value' => $GLOBALS['phpgw_info']['user']['account_id'] 80 ) 81 ); 82 } 64 83 65 84 } 66 85 67 86 return $this->sql_find($what, $rules, $other); 68 87 }
Note: See TracChangeset
for help on using the changeset viewer.