From b0204023c071e312bf961317099de6f6f367118f Mon Sep 17 00:00:00 2001 From: Martin Lyth Date: Sat, 2 Jul 2016 17:43:47 -0400 Subject: [PATCH] Fix the case of a call to sameAs() --- classes/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Profile.php b/classes/Profile.php index b557e3088c..da01213d71 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -90,7 +90,7 @@ class Profile extends Managed_DataObject { if (!isset($this->_user[$this->id])) { $cur_user = common_current_user(); - if (($cur_user instanceof User) && $cur_user->sameAS($this)) { + if (($cur_user instanceof User) && $cur_user->sameAs($this)) { $user = $cur_user; } else { $user = User::getKV('id', $this->id); -- 2.39.5