Ignore:
Timestamp:
04/17/09 16:34:36 (15 years ago)
Author:
niltonneto
Message:

Resolve #453 e #454 (duplicado).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/inc/class.so_group.inc.php

    r702 r752  
    2626                function select($id = '') 
    2727                { 
    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 '; 
    3029                        if($id != '') 
    31                                 $query .= ' AND id_group ='.$id; 
     30                                $query .= 'WHERE id_group ='.$id; 
    3231                         
    3332                        $query .= ' ORDER BY title'; 
     
    4443                                $return[] = $this->db->row();  
    4544                        } 
    46          
    4745                         
    4846                        return $return; 
     
    189187                        'A.id_contact = B.id_contact and B.id_connection = C.id_connection '. 
    190188                        '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. 
    192191                        ' order by A.names_ordered'; 
    193192                                                 
Note: See TracChangeset for help on using the changeset viewer.