1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Use category format const.

This commit is contained in:
Thomas Tanghus 2012-09-11 15:33:09 +02:00
parent 4e470cb2bf
commit 740995ced3

View File

@ -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(