reverted r41217, as it just generates a different error, need to find way to reproduce original problem to develop a fix

This commit is contained in:
Ralf Becker 2013-01-24 10:47:49 +00:00
parent 9a9e6f0808
commit 83aebbb176

View File

@ -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)