]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge commit 'jeff-themovie/0.8.x-jsonsearchresultslist' into 0.8.x
authorCraig Andrews <candrews@integralblue.com>
Fri, 7 Aug 2009 02:39:38 +0000 (22:39 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 7 Aug 2009 02:39:38 +0000 (22:39 -0400)
lib/jsonsearchresultslist.php

index 7beea9328d27649d507b4e8a753324ae836648d5..34a3d530e8d6bbd17247269f807a584a8cc00e59 100644 (file)
@@ -207,7 +207,7 @@ class ResultItem
         $replier_profile = null;
 
         if ($this->notice->reply_to) {
-            $reply = Notice::staticGet(intval($notice->reply_to));
+            $reply = Notice::staticGet(intval($this->notice->reply_to));
             if ($reply) {
                 $replier_profile = $reply->getProfile();
             }
@@ -224,7 +224,7 @@ class ResultItem
 
         $user = User::staticGet('id', $this->profile->id);
 
-        $this->iso_language_code = $this->user->language;
+        $this->iso_language_code = $user->language;
 
         $this->source = $this->getSourceLink($this->notice->source);