summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 0b69fb8de..1eb3ef2f7 100644
--- a/functions.php
+++ b/functions.php
@@ -468,7 +468,7 @@
if ($rss_1_date != "") $entry_timestamp = parse_w3cdtf($rss_1_date);
if ($rss_2_date != "") $entry_timestamp = strtotime($rss_2_date);
- if ($entry_timestamp == "") {
+ if ($entry_timestamp == "" || $entry_timestamp == -1 || !$entry_timestamp) {
$entry_timestamp = time();
$no_orig_date = 'true';
} else {