From ab3d0b9926f469540ac3d414b953a595aa5fec3e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Nov 2005 08:47:03 +0100 Subject: store last feed update error in the database (SCHEMA UPDATED), display warning box in preferences on feed update error --- backend.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 8b8a90709..611b67b38 100644 --- a/backend.php +++ b/backend.php @@ -815,6 +815,27 @@ } } + $result = db_query($link, "SELECT id,title,feed_url,last_error + FROM ttrss_feeds WHERE last_error != ''"); + + if (db_num_rows($result) > 0) { + + print "
"; + + print "Feeds with update errors:"; + + print ""; + print "
"; + + } + print "
-- cgit v1.2.3