diff --git a/classes/Notice.php b/classes/Notice.php index 181a3bd1b3..183d6108e2 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -125,7 +125,7 @@ class Notice extends DB_DataObject 'WHERE subscription.subscribed = ' . $notice->profile_id); while ($user->fetch()) { - $cache->delete(common_cache_key('user:notices_with_friends:' . $this->id)); + $cache->delete(common_cache_key('user:notices_with_friends:' . $user->id)); } $user->free();