From: Michael Vogel Date: Wed, 12 Aug 2020 16:18:45 +0000 (+0200) Subject: Update src/Model/UserItem.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d8b6b1bf5e08a7599f78ecc98f1ea0bed3b39b6;p=friendica.git Update src/Model/UserItem.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Model/UserItem.php b/src/Model/UserItem.php index 11446f6e81..144ad46eb7 100644 --- a/src/Model/UserItem.php +++ b/src/Model/UserItem.php @@ -207,7 +207,7 @@ class UserItem */ private static function checkShared(array $item, int $uid) { - // Only sheck on starting posts and reshare ("announce") activities, otherwise return + // Only check on original posts and reshare ("announce") activities, otherwise return if (($item['gravity'] != GRAVITY_PARENT) && ($item['verb'] != Activity::ANNOUNCE)) { return false; }