Merge pull request #660 from beardy-unixer/master

Provide comment box for PERMS_AUTHED items.  Presently only commentable ...
This commit is contained in:
RedMatrix 2014-10-24 08:53:37 +11:00
commit 0b2cacad02

View file

@ -214,6 +214,7 @@ function can_comment_on_post($observer_xchan,$item) {
break;
case 'any connections':
case 'contacts':
case 'authenticated':
case '':
if(array_key_exists('owner',$item)) {
if(($item['owner']['abook_xchan']) && ($item['owner']['abook_their_perms'] & PERMS_W_COMMENT))