From: Stephen Paul Weber Date: Thu, 22 Oct 2015 17:14:59 +0000 (+0000) Subject: Stop incorrecly changing object_type to relative URI X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=864959162668185eac200eb391ff5b774dbfddb6;p=quix0rs-gnu-social.git Stop incorrecly changing object_type to relative URI All other data is using absolute URI for object_type. --- diff --git a/plugins/Favorite/FavoritePlugin.php b/plugins/Favorite/FavoritePlugin.php index aa6cdc9359..afe905a109 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -194,7 +194,7 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin $actobj = $act->objects[0]; $object = Fave::saveActivityObject($actobj, $stored); - $stored->object_type = ActivityUtils::resolveUri($object->getObjectType(), true); + $stored->object_type = $object->getObjectType(); return $object; }