From e98fcf68f03361329b04ddff2ae358e49329cdec Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 24 Dec 2015 14:41:18 -0800 Subject: [PATCH] issue #235 --- mod/item.php | 2 +- version.inc | 2 +- 2 files changed, 2 insertions(+), 2 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 ); diff --git a/version.inc b/version.inc index 433f3fa89..6ae9d3269 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-12-22.1254 +2015-12-24.1256