From: Mikael Nordfeldth Date: Sat, 5 Jul 2014 14:26:50 +0000 (+0200) Subject: Fave does not carry a type X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa33b7f21c3e3bf8f2fab486727d60bcebd74fd5;p=quix0rs-gnu-social.git Fave does not carry a type it did in FreeSocial, where I copied my code from. --- diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index d4b3f4795f..5ed53d160a 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -339,7 +339,7 @@ class Fave extends Managed_DataObject public function getTarget() { // throws exception on failure - return ActivityUtils::findLocalObject(array($this->uri), $this->type); + return ActivityUtils::findLocalObject(array($this->uri)); } public function getTargetObject()