From d544c78276e6b822e94e7714a98f73b941189185 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 30 May 2011 15:29:18 -0400 Subject: [PATCH] correctly get profile for scope in apitimelinementions --- actions/apitimelinementions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/apitimelinementions.php b/actions/apitimelinementions.php index 25e08dd0e3..2b5053a84f 100644 --- a/actions/apitimelinementions.php +++ b/actions/apitimelinementions.php @@ -196,7 +196,7 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction if (empty($this->auth_user)) { $profile = null; } else { - $profile = $this->auth_user->profile; + $profile = $this->auth_user->getProfile(); } $stream = new ReplyNoticeStream($this->user->id, $profile); -- 2.39.5