set last_update even if feed failed to update properly

master
Andrew Dolgov 19 years ago
parent 628eb1bdf2
commit aa5f9f5fec

@ -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");

Loading…
Cancel
Save