summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-06 22:39:38 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-06 22:39:38 -0400
commitf917485a0dc0d5905f9570b18fb59a4a1fbeb56c (patch)
tree68793524f61517483fd3ad74034827316fb1a3da /lib
parent1c3a1360a9bde9bd916df8a2e064438d3ef600e7 (diff)
parentad1c91a1cfcde05232dba3a56f4259c43c830969 (diff)
Merge commit 'jeff-themovie/0.8.x-jsonsearchresultslist' into 0.8.x
Diffstat (limited to 'lib')
-rw-r--r--lib/jsonsearchresultslist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jsonsearchresultslist.php b/lib/jsonsearchresultslist.php
index 7beea9328..34a3d530e 100644
--- a/lib/jsonsearchresultslist.php
+++ b/lib/jsonsearchresultslist.php
@@ -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);