From 0d996f94e1fbfd9643e307306a890107ef28841d Mon Sep 17 00:00:00 2001 From: Bert Oost Date: Wed, 24 Apr 2013 09:49:29 +0300 Subject: [PATCH] Update ThreadReply.php Fixed parsing the thread name instead of the whole object --- core/components/quip/controllers/web/ThreadReply.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/components/quip/controllers/web/ThreadReply.php b/core/components/quip/controllers/web/ThreadReply.php index d61a396..748f8d5 100644 --- a/core/components/quip/controllers/web/ThreadReply.php +++ b/core/components/quip/controllers/web/ThreadReply.php @@ -212,7 +212,7 @@ public function getUnSubscribeForm() { /** @var quipCommentNotify $notify */ $notify = $this->modx->getObject('quipCommentNotify',array( 'email' => $this->modx->user->Profile->get('email'), - 'thread' => $this->thread, + 'thread' => $this->thread->get('name'), )); if ($notify) { $this->setPlaceholder('notifyId',$notify->get('id')); @@ -341,4 +341,4 @@ public function checkForModeration() { } } } -return 'QuipThreadReplyController'; \ No newline at end of file +return 'QuipThreadReplyController';