From: Michael Vogel Date: Fri, 29 Jan 2016 02:46:43 +0000 (+0100) Subject: Check the body for notifications as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56687f5bc8fc9e9a533b10fee27238689c60f83b;p=friendica.git Check the body for notifications as well --- diff --git a/include/enotify.php b/include/enotify.php index d3f1ab580b..54b59857c2 100644 --- a/include/enotify.php +++ b/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; }