summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-12 23:10:10 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-12 23:10:49 +0200
commite9c1f8b4e650052eee33de6e1b4e29715e41cdf0 (patch)
tree55fb55b02659d0ae94560fc0c8bc18d459e6c1b1 /apps
parent43ba23430d60cfeca45e6f043590249588724ac3 (diff)
downloadnextcloud-server-e9c1f8b4e650052eee33de6e1b4e29715e41cdf0.tar.gz
nextcloud-server-e9c1f8b4e650052eee33de6e1b4e29715e41cdf0.zip
Contacts: No need to sort the categories anymore
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php
index d68dd68f605..b14a35e19ed 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -1,6 +1,6 @@
<script type='text/javascript'>
var totalurl = '<?php echo OC_Helper::linkToAbsolute('contacts', 'carddav.php'); ?>/addressbooks';
- var categories = <?php sort($_['categories']); echo json_encode($_['categories']); ?>;
+ var categories = <?php echo json_encode($_['categories']); ?>;
var lang = '<?php echo OC_Preferences::getValue(OC_User::getUser(), 'core', 'lang', 'en'); ?>';
</script>
<div id="controls">