fixed depricated get_list methode, to return an array indexed 0, 1, 2, ... as the old one

This commit is contained in:
Ralf Becker 2006-09-24 08:06:16 +00:00
parent a6af26d8a9
commit 052c0e964c

View File

@ -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 ,
));
)));
}
/**