diff options
-rw-r--r-- | mod/item.php | 2 | ||||
-rw-r--r-- | 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 |