fixed an other sql error when creating distribution lists

This commit is contained in:
Ralf Becker 2013-08-06 10:18:26 +00:00
parent f4597f6314
commit 9638679c97

View File

@ -619,7 +619,7 @@ class addressbook_groupdav extends groupdav_handler
{
$to_add_ids = $to_delete_ids = array();
$filter = array('uid' => $to_delete ? array_merge($to_add, $to_delete) : $to_add);
if (($contacts =& $this->bo->search(array(),'id,uid','','','',False,'AND',false,$filter)))
if (($contacts =& $this->bo->search(array(), array('id', 'uid'),'','','',False,'AND',false,$filter)))
{
foreach($contacts as $c)
{