diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-24 14:41:18 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-24 14:41:18 -0800 |
commit | e98fcf68f03361329b04ddff2ae358e49329cdec (patch) | |
tree | 8d5245b73fa150bdd7b754252912a2731cab652c /mod | |
parent | 36717e5f32a154582a2069ebc60e4fa256bb9f90 (diff) | |
download | volse-hubzilla-e98fcf68f03361329b04ddff2ae358e49329cdec.tar.gz volse-hubzilla-e98fcf68f03361329b04ddff2ae358e49329cdec.tar.bz2 volse-hubzilla-e98fcf68f03361329b04ddff2ae358e49329cdec.zip |
issue #235
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index b3ef57529..bda33f4b3 100644 --- a/mod/item.php +++ b/mod/item.php @@ -210,7 +210,7 @@ function item_post(&$a) { } } else { - if(! perm_is_allowed($profile_uid,$observer['xchan_hash'],'post_wall')) { + if(! perm_is_allowed($profile_uid,$observer['xchan_hash'],($webpage) ? 'write_pages' : 'post_wall')) { notice( t('Permission denied.') . EOL) ; if(x($_REQUEST,'return')) goaway($a->get_baseurl() . "/" . $return_path ); |