]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/actions/photo.php
Fixing photo page replies and descriptions
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / actions / photo.php
index 5eb91cbe68bf25246f82e8b9440239d107ee0aa3..5150cf7071d9726b5b947a18187f99f984c270fb 100644 (file)
@@ -50,7 +50,7 @@ class PhotoAction extends Action
 
         $this->user = Profile::staticGet('id', $this->notice->profile_id);
         
-        $notices = Notice::conversationStream((int)$this->photoid-1, null, null); //Why do I have to do -1?
+        $notices = Notice::conversationStream((int)$this->notice->conversation, null, null); //Why do I have to do -1?
         $this->conversation = new ConversationTree($notices, $this);
         return true;