fixed an other sql error when creating distribution lists

This commit is contained in:
Ralf Becker 2013-08-06 10:15:27 +00:00
parent a910c7d413
commit f9225d6aec

View File

@ -684,7 +684,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)
{