diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-04-20 20:14:05 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-04-20 20:14:05 +0200 |
commit | 2bbaaf79b1819b6a1040faa02efbf3fe4e695dae (patch) | |
tree | 035325756820666422045c7706743eeaaaa2320b /businesslayer | |
parent | 177a6af3d6ad18711e8195d6c140cc823f635aed (diff) |
Fix feed items without pubDate always getting marked as unread
Diffstat (limited to 'businesslayer')
-rw-r--r-- | businesslayer/feedbusinesslayer.php | 2 |
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 |