Fix return value of FeedConversation::__toString()
authorMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 17:07:24 +0000 (19:07 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 17:07:24 +0000 (19:07 +0200)
files/lib/data/conversation/FeedConversation.class.php

index b7e434a6be698defa4ef02c41d34d0f8532ff713..31d94cbcd241fcc3403395b6ec795aa8a1662aa2 100644 (file)
@@ -84,7 +84,7 @@ class FeedConversation extends DatabaseObjectDecorator implements IFeedEntry {
         * @see \wcf\data\IMessage::__toString()
         */
        public function __toString() {
-               return $this->getDecoratedObject()->__toString();
+               return $this->getFormattedMessage();
        }
        
        /**