mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fixed depricated get_list methode, to return an array indexed 0, 1, 2, ... as the old one
This commit is contained in:
parent
a6af26d8a9
commit
052c0e964c
@ -805,16 +805,16 @@ class accounts extends accounts_backend
|
||||
{
|
||||
if (is_array($_type)) // XML-RPC
|
||||
{
|
||||
return $this->search($_type);
|
||||
return array_values($this->search($_type));
|
||||
}
|
||||
return $this->search(array(
|
||||
return array_values($this->search(array(
|
||||
'type' => $_type,
|
||||
'start' => $start,
|
||||
'order' => $order,
|
||||
'query' => $query,
|
||||
'offset' => $offset,
|
||||
'query_type' => $query_type ,
|
||||
));
|
||||
)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user