operator precedence

This commit is contained in:
Mike Macgirvin 2023-01-18 06:18:15 +11:00
parent 0ebb78ec51
commit 195ce4e5ee

View file

@ -168,7 +168,7 @@ class Enotify
$action = t('commented on');
if (array_key_exists('item', $params) && in_array($params['item']['verb'], [ACTIVITY_LIKE, ACTIVITY_DISLIKE])) {
if (!$vnotify & VNOTIFY_LIKE) {
if (!($vnotify & VNOTIFY_LIKE)) {
pop_lang();
return;
}