summaryrefslogtreecommitdiff
path: root/ui/opml_upload.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/opml_upload.go')
-rw-r--r--ui/opml_upload.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/opml_upload.go b/ui/opml_upload.go
index 6f9109bf..08430737 100644
--- a/ui/opml_upload.go
+++ b/ui/opml_upload.go
@@ -45,7 +45,7 @@ func (h *handler) uploadOPML(w http.ResponseWriter, r *http.Request) {
view.Set("menu", "feeds")
view.Set("user", user)
view.Set("countUnread", h.store.CountUnreadEntries(user.ID))
- view.Set("countErrorFeeds", h.store.CountErrorFeeds(user.ID))
+ view.Set("countErrorFeeds", h.store.CountUserFeedsWithErrors(user.ID))
if fileHeader.Size == 0 {
view.Set("errorMessage", "error.empty_file")
@@ -86,7 +86,7 @@ func (h *handler) fetchOPML(w http.ResponseWriter, r *http.Request) {
view.Set("menu", "feeds")
view.Set("user", user)
view.Set("countUnread", h.store.CountUnreadEntries(user.ID))
- view.Set("countErrorFeeds", h.store.CountErrorFeeds(user.ID))
+ view.Set("countErrorFeeds", h.store.CountUserFeedsWithErrors(user.ID))
clt := client.NewClientWithConfig(url, config.Opts)
resp, err := clt.Get()