From 052c0e964cc6f40e823d794613efa62be1a99827 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 24 Sep 2006 08:06:16 +0000 Subject: [PATCH] fixed depricated get_list methode, to return an array indexed 0, 1, 2, ... as the old one --- phpgwapi/inc/class.accounts.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index dc4cba3aef..31f25a3b81 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -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 , - )); + ))); } /**