"get_rows should use all (readable) distribution lists, not only the ones the user has edit right for, thanks to Lluis Faja for noticing"

This commit is contained in:
Ralf Becker 2008-11-02 07:10:40 +00:00
parent 3f760048c6
commit f22de2cc36

View File

@ -932,7 +932,7 @@ class addressbook_ui extends addressbook_bo
// do we need to read the custom fields, depends on the column is enabled and customfields exist
$columselection = $this->prefs['nextmatch-addressbook.'.($do_email ? 'email' : 'index').'.rows'];
$available_distib_lists=$this->get_lists(EGW_ACL_EDIT);
$available_distib_lists=$this->get_lists(EGW_ACL_READ);
$columselection = $columselection ? explode(',',$columselection) : array();
if (!$id_only && $rows)
{