From 2c1911bfae205eb514c4cff3bd5b03cfe6535cf3 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 18 Sep 2011 19:29:23 -0400 Subject: [PATCH] Short-circuit bugs by defining Profile::getProfile() --- classes/Profile.php | 7 +++++++ 1 file changed, 7 insertions(+) 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; + } } -- 2.39.5