From: Martin Lyth Date: Sat, 2 Jul 2016 21:43:47 +0000 (-0400) Subject: Fix the case of a call to sameAs() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0204023c071e312bf961317099de6f6f367118f;p=quix0rs-gnu-social.git Fix the case of a call to sameAs() --- 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);