Check the body for notifications as well
This commit is contained in:
@@ -734,7 +734,7 @@ function check_item_notification($itemid, $uid, $defaulttype = "") {
|
|||||||
$tagged = false;
|
$tagged = false;
|
||||||
|
|
||||||
foreach ($profiles AS $profile) {
|
foreach ($profiles AS $profile) {
|
||||||
if (strpos($item[0]["tag"], "=".$profile."]"))
|
if (strpos($item[0]["tag"], "=".$profile."]") OR strpos($item[0]["body"], "=".$profile."]"))
|
||||||
$tagged = true;
|
$tagged = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user