fixed initially wrong sorted accounts, because account_id is used as key

This commit is contained in:
Ralf Becker 2014-04-10 11:29:20 +00:00
parent 2b3cafe75c
commit 27ebbd6bad

View File

@ -284,7 +284,7 @@ if ($app == 'felamimail') continue; // disabled fmail for now, as it break whole
$params['query_type'] = 'all';
}
$rows = self::$accounts->search($params);
$rows = array_values(self::$accounts->search($params));
//error_log(__METHOD__."() accounts->search(".array2string($params).") total=".self::$accounts->total);
foreach($rows as &$row)