diff --git a/classes/Profile.php b/classes/Profile.php index b8178e9b66..f61803dcd0 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -1430,4 +1430,11 @@ class Profile extends Managed_DataObject $profile->_fillAvatar($width, $avatars[$profile->id]); } } + + // Can't seem to find how to fix this. + + function getProfile() + { + return $this; + } }