diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-22 12:00:15 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-22 12:00:15 +0200 |
commit | 9e490d022b985f295a0547c8a115c610a77a3a24 (patch) | |
tree | 1d3db764fd0b939a58836351211a3ea6bcba5e1f /include | |
parent | b4dff3a9ff16811ea0310f5dbf4d7559c97835b0 (diff) | |
download | volse-hubzilla-9e490d022b985f295a0547c8a115c610a77a3a24.tar.gz volse-hubzilla-9e490d022b985f295a0547c8a115c610a77a3a24.tar.bz2 volse-hubzilla-9e490d022b985f295a0547c8a115c610a77a3a24.zip |
fix webpage perms
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 5ae2250a8..19c5bda14 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1637,7 +1637,7 @@ function profile_tabs($a, $is_owner = false, $nickname = null){ ); } - if ($is_owner && feature_enabled($uid,'webpages')) { + if ($p['write_pages'] && feature_enabled($uid,'webpages')) { $tabs[] = array( 'label' => t('Webpages'), 'url' => $a->get_baseurl() . '/webpages/' . $nickname, |