From 50b284b19665329fe7f81876105705db4a2e6340 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Apr 2011 15:45:39 +0400 Subject: [PATCH] feed editor: show last update error near URL --- modules/pref-feeds.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 48ad88e53..c95e039cd 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')) {