]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correctly get profile for scope in apitimelinementions
authorEvan Prodromou <evan@status.net>
Mon, 30 May 2011 19:29:18 +0000 (15:29 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 30 May 2011 19:29:18 +0000 (15:29 -0400)
actions/apitimelinementions.php

index 25e08dd0e382a5adc3a8d91e3242f69376643f32..2b5053a84f5df0822bafec5454e819abf6d2ccb6 100644 (file)
@@ -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);