Changeset 752 for trunk/contactcenter/inc/class.so_group.inc.php
- Timestamp:
- 04/17/09 16:34:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.so_group.inc.php
r702 r752 26 26 function select($id = '') 27 27 { 28 $query = 'SELECT id_group,title,short_name FROM phpgw_cc_groups WHERE owner = '.$this->owner; 29 28 $query = 'SELECT id_group,title,short_name FROM phpgw_cc_groups '; 30 29 if($id != '') 31 $query .= ' ANDid_group ='.$id;30 $query .= 'WHERE id_group ='.$id; 32 31 33 32 $query .= ' ORDER BY title'; … … 44 43 $return[] = $this->db->row(); 45 44 } 46 47 45 48 46 return $return; … … 189 187 'A.id_contact = B.id_contact and B.id_connection = C.id_connection '. 190 188 'and B.id_typeof_contact_connection = 1 and '. 191 'A.id_owner ='.$this->owner.' and D.id_connection = C.id_connection and D.id_group = '.$idGroup. 189 //'A.id_owner ='.$this->owner.' and'. 190 ' D.id_connection = C.id_connection and D.id_group = '.$idGroup. 192 191 ' order by A.names_ordered'; 193 192
Note: See TracChangeset
for help on using the changeset viewer.