mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:35:14 +00:00
issue #235
This commit is contained in:
parent
36717e5f32
commit
e98fcf68f0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue