aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-15 17:30:08 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-15 17:30:08 -0700
commit8c7472c6c337f0cf58d744433e3de70ab33b430b (patch)
tree293bb3b84407475c380b11c015f9086138ef3766 /mod/photos.php
parent859a2ac8ef1c3ce234b894598be846cbc89cf54a (diff)
parente0779e32b42e0fc00cd060f2baa25656d15b7885 (diff)
downloadvolse-hubzilla-8c7472c6c337f0cf58d744433e3de70ab33b430b.tar.gz
volse-hubzilla-8c7472c6c337f0cf58d744433e3de70ab33b430b.tar.bz2
volse-hubzilla-8c7472c6c337f0cf58d744433e3de70ab33b430b.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: view/nl/messages.po view/nl/strings.php
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 1fbee70e8..68077a5b1 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -528,7 +528,7 @@ function photos_content(&$a) {
$lockstate = (($channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock');
}
- $aclselect_e = (($_is_owner) ? populate_acl($channel_acl,false) : '');
+ $aclselect = (($_is_owner) ? populate_acl($channel_acl,false) : '');
$selname = (($datum) ? hex2bin($datum) : '');
@@ -546,7 +546,7 @@ function photos_content(&$a) {
'$albums' => $albums['albums'],
'$selname' => $selname,
'$permissions' => t('Permissions'),
- '$aclselect' => $aclselect_e,
+ '$aclselect' => $aclselect,
'$lockstate' => $lockstate,
'$uploader' => $ret['addon_text'],
'$default' => (($ret['default_upload']) ? true : false),
@@ -892,7 +892,7 @@ function photos_content(&$a) {
if($can_post) {
$album_e = $ph[0]['album'];
$caption_e = $ph[0]['description'];
- $aclselect_e = populate_acl($ph[0]);
+ $aclselect_e = (($_is_owner) ? populate_acl($ph[0]) : '');
$albums = ((array_key_exists('albums', $a->data)) ? $a->data['albums'] : photos_albums_list($a->data['channel'],$a->data['observer']));
$_SESSION['album_return'] = bin2hex($ph[0]['album']);