aboutsummaryrefslogtreecommitdiffstats
path: root/feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 5f74d5091..229f1156c 100644
--- a/feed.php
+++ b/feed.php
@@ -156,7 +156,7 @@ if ( !empty($feed_id) and empty($news) )
{
$query = '
UPDATE '.USER_FEED_TABLE.'
- SET last_check = DATE_ADD(\''.$dbnow.'\', INTERVAL -15 DAY )
+ SET last_check = '.pwg_db_get_recent_period_expression(-15, $dbnow).'
WHERE id = \''.$feed_id.'\'
;';
pwg_query($query);