Check the body for notifications as well

This commit is contained in:
Michael Vogel 2016-01-29 03:46:43 +01:00
parent e4c4b8e13e
commit 56687f5bc8

View file

@ -734,7 +734,7 @@ function check_item_notification($itemid, $uid, $defaulttype = "") {
$tagged = false;
foreach ($profiles AS $profile) {
if (strpos($item[0]["tag"], "=".$profile."]"))
if (strpos($item[0]["tag"], "=".$profile."]") OR strpos($item[0]["body"], "=".$profile."]"))
$tagged = true;
}