summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--businesslayer/feedbusinesslayer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php
index de8d79ebf..a543f352b 100644
--- a/businesslayer/feedbusinesslayer.php
+++ b/businesslayer/feedbusinesslayer.php
@@ -145,7 +145,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() !== (int)$item->getPubDate()){
+ if((int)$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