mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +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
|
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,
|
'type' => $_type,
|
||||||
'start' => $start,
|
'start' => $start,
|
||||||
'order' => $order,
|
'order' => $order,
|
||||||
'query' => $query,
|
'query' => $query,
|
||||||
'offset' => $offset,
|
'offset' => $offset,
|
||||||
'query_type' => $query_type ,
|
'query_type' => $query_type ,
|
||||||
));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user