mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
fixed sql error, if array("list_carddav_name"=>NULL) get passed
This commit is contained in:
parent
5102e666f5
commit
871508bb0d
@ -485,7 +485,7 @@ class addressbook_sql extends so_sql_cf
|
||||
*/
|
||||
function get_lists($uids,$uid_column='list_owner',$member_attr=null,$limit_in_ab=false)
|
||||
{
|
||||
if (is_array($uids) && isset($uids['list_carddav_name']))
|
||||
if (is_array($uids) && array_key_exists('list_carddav_name', $uids))
|
||||
{
|
||||
$ids = array();
|
||||
foreach((array)$uids['list_carddav_name'] as $carddav_name)
|
||||
|
Loading…
Reference in New Issue
Block a user