aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-02 18:53:23 +0000
committerMario <mario@mariovavti.com>2021-01-02 18:53:23 +0000
commit98f3e4cbd39dca3c111a711b0aaaa53428eb14a6 (patch)
tree7f1134d5dcaf33df4608f7c80e8a97f3a5b69eb5 /Zotlabs
parentefc8ed484504e2e01a8bc9dc8c720144995be210 (diff)
downloadvolse-hubzilla-98f3e4cbd39dca3c111a711b0aaaa53428eb14a6.tar.gz
volse-hubzilla-98f3e4cbd39dca3c111a711b0aaaa53428eb14a6.tar.bz2
volse-hubzilla-98f3e4cbd39dca3c111a711b0aaaa53428eb14a6.zip
set is_owner does not need to be a per item flag. fix post button visible for collections
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Storage/Browser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php
index 7b20e9ddb..b71032080 100644
--- a/Zotlabs/Storage/Browser.php
+++ b/Zotlabs/Storage/Browser.php
@@ -264,7 +264,6 @@ class Browser extends DAV\Browser\Plugin {
$ft['attach_id'] = $id;
$ft['icon'] = $icon;
$ft['photo_icon'] = $photo_icon;
- $ft['is_owner'] = $is_owner;
$ft['is_creator'] = $is_creator;
$ft['rel_path'] = (($data) ? '/cloud/' . $nick .'/' . $data['display_path'] : $href);
$ft['full_path'] = z_root() . (($data) ? '/cloud/' . $nick .'/' . $data['display_path'] : $href);
@@ -392,6 +391,8 @@ class Browser extends DAV\Browser\Plugin {
'$deny_cid' => acl2json($channel_acl['deny_cid']),
'$deny_gid' => acl2json($channel_acl['deny_gid'])
+ '$is_owner' = $is_owner;
+
));