aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Card_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Card_edit.php')
-rw-r--r--Zotlabs/Module/Card_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Card_edit.php b/Zotlabs/Module/Card_edit.php
index 6927c0b6f..7cc563fd2 100644
--- a/Zotlabs/Module/Card_edit.php
+++ b/Zotlabs/Module/Card_edit.php
@@ -105,6 +105,8 @@ class Card_edit extends \Zotlabs\Web\Controller {
'hide_expire' => false,
'showacl' => true,
'acl' => populate_acl($itm[0],false,\Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_pages')),
+ 'permissions' => $itm[0],
+ 'lockstate' => (($itm[0]['allow_cid'] || $itm[0]['allow_gid'] || $itm[0]['deny_cid'] || $itm[0]['deny_gid']) ? 'lock' : 'unlock'),
'ptyp' => $itm[0]['type'],
'mimeselect' => false,
'mimetype' => $itm[0]['mimetype'],