Browse Source

Check the body for notifications as well

pull/2301/head
Michael Vogel 7 years ago
parent
commit
56687f5bc8
  1. 2
      include/enotify.php

2
include/enotify.php

@ -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;
}

Loading…
Cancel
Save