]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix for Atom notice output: correct check against conversation & current id
authorBrion Vibber <brion@pobox.com>
Fri, 12 Feb 2010 23:30:23 +0000 (15:30 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 12 Feb 2010 23:30:23 +0000 (15:30 -0800)
classes/Notice.php

index 924931e42b59989f0a266ad8ecba39028a64e6eb..73b22d58a030cea41a8afbd67121e755f26954ad 100644 (file)
@@ -1016,7 +1016,7 @@ class Notice extends Memcached_DataObject
         }
 
         if (!empty($this->conversation)
-            && $this->conversation != $this->notice->id) {
+            && $this->conversation != $this->id) {
             $xs->element(
                 'link', array(
                     'rel' => 'ostatus:conversation',