This commit is contained in:
redmatrix 2015-12-24 14:41:18 -08:00
parent 36717e5f32
commit e98fcf68f0
2 changed files with 2 additions and 2 deletions

View file

@ -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 );

View file

@ -1 +1 @@
2015-12-22.1254
2015-12-24.1256