Update src/Model/UserItem.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2020-08-12 18:19:02 +02:00 committed by GitHub
parent 8d8b6b1bf5
commit d331a88adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ class UserItem
return false; return false;
} }
// Check if the contact had posted or shared something directly // Check if the contact posted or shared something directly
if (DBA::exists('contact', ['id' => $item['contact-id'], 'notify_new_posts' => true])) { if (DBA::exists('contact', ['id' => $item['contact-id'], 'notify_new_posts' => true])) {
return true; return true;
} }