diff options
Diffstat (limited to 'include/enotify.php')
-rw-r--r-- | include/enotify.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/enotify.php b/include/enotify.php index 47499dcee..b34d7fdd7 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -82,8 +82,9 @@ function notification($params) { localize_item($i); $title = $i['title']; $body = $i['body']; - $private = (($i['item_private']) || ($i['item_flags'] & ITEM_OBSCURED)); - } else { + $private = (($i['item_private']) || intval($i['item_obscured'])); + } + else { $title = $params['item']['title']; $body = $params['item']['body']; } @@ -642,4 +643,4 @@ class enotify { ); logger("notification: enotify::send returns " . $res, LOGGER_DEBUG); } -}
\ No newline at end of file +} |