diff options
author | friendica <info@friendica.com> | 2013-06-16 23:07:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-06-16 23:07:04 -0700 |
commit | 7ae340dd4031c69cd84b30e68c71c80cebdd7ef0 (patch) | |
tree | a7e0588ef7025a75eca39da724f285590e901bda /include/items.php | |
parent | 82539ba2bc93a6a84ce01492d37a725291ba32d9 (diff) | |
download | volse-hubzilla-7ae340dd4031c69cd84b30e68c71c80cebdd7ef0.tar.gz volse-hubzilla-7ae340dd4031c69cd84b30e68c71c80cebdd7ef0.tar.bz2 volse-hubzilla-7ae340dd4031c69cd84b30e68c71c80cebdd7ef0.zip |
typos
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index 93fc09ae9..c3c594d59 100755 --- a/include/items.php +++ b/include/items.php @@ -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; |