mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Use category format const.
This commit is contained in:
parent
4e470cb2bf
commit
740995ced3
@ -33,7 +33,7 @@ $list = array();
|
||||
$catmgr = OC_Contacts_App::getVCategories();
|
||||
|
||||
if(is_null($category)) {
|
||||
$categories = $catmgr->categories(true);
|
||||
$categories = $catmgr->categories(OC_VCategories::FORMAT_MAP);
|
||||
uasort($categories, 'cmpcategories');
|
||||
foreach($categories as $category) {
|
||||
$list[$category['id']] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user