aboutsummaryrefslogtreecommitdiffstats
path: root/include/ConversationObject.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/ConversationObject.php')
-rw-r--r--include/ConversationObject.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ConversationObject.php b/include/ConversationObject.php
index 033ce7f76..37633369e 100644
--- a/include/ConversationObject.php
+++ b/include/ConversationObject.php
@@ -49,6 +49,10 @@ class Conversation extends BaseObject {
$this->profile_owner = $a->profile['uid'];
$this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');
break;
+ case 'page':
+ $this->profile_owner = $a->profile['uid'];
+ $this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments');
+ break;
default:
logger('[ERROR] Conversation::set_mode : Unhandled mode ('. $mode .').', LOGGER_DEBUG);
return false;