From: Evan Prodromou Date: Sun, 18 Sep 2011 23:29:23 +0000 (-0400) Subject: Short-circuit bugs by defining Profile::getProfile() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c1911bfae205eb514c4cff3bd5b03cfe6535cf3;p=quix0rs-gnu-social.git Short-circuit bugs by defining Profile::getProfile() --- 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; + } }