diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-04-18 00:44:53 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-04-18 00:50:15 +0200 |
commit | cce8765c8daf4427943c9577df9dea581efe481d (patch) | |
tree | b3af070ea3556a3058abdab7ea621d332911dc28 /businesslayer/feedbusinesslayer.php | |
parent | 7480a3a20c39caaaf812b94d664731a0c83c5e54 (diff) |
Don't always mark feed items as unread if the pubTime of the item is unknown
Diffstat (limited to 'businesslayer/feedbusinesslayer.php')
-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 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 |