issue #235
This commit is contained in:
parent
36717e5f32
commit
e98fcf68f0
@ -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 );
|
||||
|
@ -1 +1 @@
|
||||
2015-12-22.1254
|
||||
2015-12-24.1256
|
||||
|
Reference in New Issue
Block a user