mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
typos
This commit is contained in:
parent
82539ba2bc
commit
7ae340dd40
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ function can_comment_on_post($observer_xchan,$item) {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if(strstr('network:',$item['comment_policy']) && strstr('red',$item['comment_policy']))
|
||||
if(strstr($item['comment_policy'],'network:') && strstr($item['comment_policy'],'red'))
|
||||
return true;
|
||||
if(strstr('site:', $item['comment_policy']) && strstr(get_app()->get_hostname(),$item['comment_policy']))
|
||||
if(strstr($item['comment_policy'],'site:') && strstr($item['comment_policy'],get_app()->get_hostname()))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue