summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-15 09:24:28 +0100
committerAndrew Dolgov <[email protected]>2005-11-15 09:24:28 +0100
commitaa5f9f5fec1419b34e0ad71df3aad6019241b5c0 (patch)
tree1d51f6000825b0455c61521315bbd327ec2c5bab /functions.php
parent628eb1bdf2242a2b6578d3cfc4d7ac09a0ae67be (diff)
set last_update even if feed failed to update properly
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 2fdd13220..28cbb1cdd 100644
--- a/functions.php
+++ b/functions.php
@@ -358,7 +358,8 @@
} else {
$error_msg = db_escape_string(magpie_error());
db_query($link,
- "UPDATE ttrss_feeds SET last_error = '$error_msg' WHERE id = '$feed'");
+ "UPDATE ttrss_feeds SET last_error = '$error_msg',
+ last_updated = NOW() WHERE id = '$feed'");
}
db_query($link, "COMMIT");