diff options
author | Andrew Dolgov <[email protected]> | 2013-03-25 22:06:51 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-25 22:06:51 -0700 |
commit | 5894fa4131043e8fccaecf87f29280afcad24574 (patch) | |
tree | 0b247478a9b42c8885a6a3226bf03646970f1e14 /include/rssfuncs.php | |
parent | 1bd7413f6aeec49a4d248541ba5a52015d1bd524 (diff) | |
parent | 30123fe630da0c9882056de91460b2dd5912ad47 (diff) |
Merge pull request #86 from saperduper/master
handle future pubDate
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 11aa0e4ba..130f9142c 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -435,7 +435,7 @@ $entry_timestamp = strtotime($item->get_date()); - if ($entry_timestamp == -1 || !$entry_timestamp) { + if ($entry_timestamp == -1 || !$entry_timestamp || $entry_timestamp > time()) { $entry_timestamp = time(); $no_orig_date = 'true'; } else { |