summaryrefslogtreecommitdiffstats
path: root/businesslayer
diff options
context:
space:
mode:
Diffstat (limited to 'businesslayer')
-rw-r--r--businesslayer/feedbusinesslayer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php
index ec6d7283a..52009529e 100644
--- a/businesslayer/feedbusinesslayer.php
+++ b/businesslayer/feedbusinesslayer.php
@@ -138,7 +138,7 @@ class FeedBusinessLayer extends BusinessLayer {
// if the pub_date changed because we sort by id on the
// client side since this is the only reliable way to do it
// to not get weird behaviour
- if($existing->getPubDate() !== $item->getPubDate()){
+ if($existing->getPubDate() !== (int)$item->getPubDate()){
// because the item is being replaced we need to keep
// status flags but we want the new entry to be unread