diff --git a/addressbook/inc/class.addressbook_sql.inc.php b/addressbook/inc/class.addressbook_sql.inc.php index 33ebaeabb1..cd04fc1a78 100644 --- a/addressbook/inc/class.addressbook_sql.inc.php +++ b/addressbook/inc/class.addressbook_sql.inc.php @@ -485,11 +485,6 @@ class addressbook_sql extends so_sql_cf */ function get_lists($uids,$uid_column='list_owner',$member_attr=null,$limit_in_ab=false) { - if (isset($uids['list_id'])) - { - $uids[$this->lists_table.'.list_id'] = $uids['list_id']; - unset($uids['list_id']); - } $lists = array(); foreach($this->db->select($this->lists_table,'*',$uid_column?array($uid_column=>$uids):$uids,__LINE__,__FILE__, false,'ORDER BY list_owner<>'.(int)$GLOBALS['egw_info']['user']['account_id'].',list_name') as $row)