Merge commit 'jeff-themovie/0.8.x-jsonsearchresultslist' into 0.8.x

This commit is contained in:
Craig Andrews 2009-08-06 22:39:38 -04:00
commit f917485a0d

View File

@ -207,7 +207,7 @@ class ResultItem
$replier_profile = null; $replier_profile = null;
if ($this->notice->reply_to) { if ($this->notice->reply_to) {
$reply = Notice::staticGet(intval($notice->reply_to)); $reply = Notice::staticGet(intval($this->notice->reply_to));
if ($reply) { if ($reply) {
$replier_profile = $reply->getProfile(); $replier_profile = $reply->getProfile();
} }
@ -224,7 +224,7 @@ class ResultItem
$user = User::staticGet('id', $this->profile->id); $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); $this->source = $this->getSourceLink($this->notice->source);