aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ConversationObject.php1
-rwxr-xr-xinclude/items.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/ConversationObject.php b/include/ConversationObject.php
index bf4300cb1..bb144d893 100644
--- a/include/ConversationObject.php
+++ b/include/ConversationObject.php
@@ -7,6 +7,7 @@ require_once('boot.php');
require_once('include/BaseObject.php');
require_once('include/ItemObject.php');
require_once('include/text.php');
+require_once('include/items.php');
/**
* A list of threads
diff --git a/include/items.php b/include/items.php
index b58b4415e..45d9d28fc 100755
--- a/include/items.php
+++ b/include/items.php
@@ -92,7 +92,7 @@ function collect_recipients($item,&$private) {
* Generally we should look at the item - in particular the author['book_flags'] and see if ABOOK_FLAG_SELF is set.
* If it is, you should be able to use perm_is_allowed( ... 'post_comments'), and if it isn't you need to call
* can_comment_on_post()
-
+ */
function can_comment_on_post($observer_xchan,$item) {
// logger('can_comment_on_post: comment_policy: ' . $item['comment_policy'], LOGGER_DEBUG);