aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.editaddressbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/templates/part.editaddressbook.php')
-rw-r--r--apps/contacts/templates/part.editaddressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.editaddressbook.php b/apps/contacts/templates/part.editaddressbook.php
index 4e63ce5ec17..cb1371731b1 100644
--- a/apps/contacts/templates/part.editaddressbook.php
+++ b/apps/contacts/templates/part.editaddressbook.php
@@ -18,7 +18,7 @@
<tr>
<td></td>
<td>
- <input id="edit_active_<?php echo $_['addressbook']['id'] ?>" type="checkbox"<?php echo $_['addressbook']['active'] ? ' checked="checked"' : '' ?>>
+ <input id="edit_active_<?php echo $_['addressbook']['id'] ?>" type="checkbox"<?php echo OC_Contacts_Addressbook::isActive($_['addressbook']['id']) ? ' checked="checked"' : '' ?>>
<label for="edit_active_<?php echo $_['addressbook']['id'] ?>">
<?php echo $l->t('Active') ?>
</label>