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 7d603e9cb..4e7f0c3a1 100644
--- a/functions.php
+++ b/functions.php
@@ -22,7 +22,7 @@
date_entered < NOW() - INTERVAL '$purge_interval days'");
} else {
db_query($link, "DELETE FROM ttrss_entries WHERE
- marked = false AND AND feed_id = '$feed_id' AND
+ marked = false AND feed_id = '$feed_id' AND
date_entered < DATE_SUB(NOW(), INTERVAL $purge_interval DAY)");
}
}