From: Andrew Dolgov Date: Fri, 8 Apr 2011 11:45:39 +0000 (+0400) Subject: feed editor: show last update error near URL X-Git-Tag: 1.5.3~64 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=50b284b19665329fe7f81876105705db4a2e6340;p=tt-rss.git feed editor: show last update error near URL --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 48ad88e5..c95e039c 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -299,6 +299,14 @@ regExp='^(http|https)://.*' style=\"width : 20em\" name=\"feed_url\" value=\"$feed_url\">"; + $last_error = db_fetch_result($result, 0, "last_error"); + + if ($last_error) { + print " (error)"; + + } + /* Category */ if (get_pref($link, 'ENABLE_FEED_CATS')) {