aboutsummaryrefslogtreecommitdiffstats
path: root/include/notify.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/notify.php')
-rw-r--r--include/notify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notify.php b/include/notify.php
index 987ca8c0f..2b032b56b 100644
--- a/include/notify.php
+++ b/include/notify.php
@@ -29,7 +29,7 @@ function format_notification($item) {
'url' => $item['author']['xchan_url'],
'photo' => $item['author']['xchan_photo_s'],
'when' => relative_date($item['created']),
- 'class' => (($item['item_unseen']) ? 'notify-unseen' : 'notify-seen'),
+ 'class' => (intval($item['item_unseen']) ? 'notify-unseen' : 'notify-seen'),
'message' => strip_tags(bbcode($itemem_text))
);