summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-22 14:27:24 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-22 14:27:46 +0200
commit1f06cdf81f1a5100008884e67078e868e60ae9a8 (patch)
tree16908734ad6773046d94098538e33f5ad53c2b9a /apps/contacts/templates
parent07124ee38dfa1b9c51d9efbddd2680497ec633f9 (diff)
downloadnextcloud-server-1f06cdf81f1a5100008884e67078e868e60ae9a8.tar.gz
nextcloud-server-1f06cdf81f1a5100008884e67078e868e60ae9a8.zip
Small js fix.
Diffstat (limited to 'apps/contacts/templates')
-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 1790ad4e30d..0d4219c9f2d 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -1,7 +1,7 @@
<script type='text/javascript'>
var totalurl = '<?php echo OCP\Util::linkToRemote('carddav'); ?>addressbooks';
var categories = <?php echo json_encode($_['categories']); ?>;
- var id = <?php echo $_['id']; ?>;
+ var id = '<?php echo $_['id']; ?>';
var lang = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en'); ?>';
</script>
<div id="leftcontent">