From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 15:43:56 +0000 (+0100) Subject: Wrong variable name (s/fave/object/) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=adc4dfc081e87a638b9f9de26fc1f3c0e042d276;p=quix0rs-gnu-social.git Wrong variable name (s/fave/object/) --- diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index 9ab9f9337b..916620a34c 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -348,8 +348,8 @@ class Fave extends Managed_DataObject $object = self::parseActivityObject($actobj, $stored); $object->insert(); // exception throwing in Fave's case! - self::blowCacheForProfileId($fave->user_id); - self::blowCacheForNoticeId($fave->notice_id); + self::blowCacheForProfileId($object->user_id); + self::blowCacheForNoticeId($object->notice_id); self::blow('popular'); Event::handle('EndFavorNotice', array($stored->getProfile(), $object->getTarget()));