]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-feeds/add: properly handle rc=3
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 14 Jun 2011 10:19:22 +0000 (14:19 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 14 Jun 2011 10:19:22 +0000 (14:19 +0400)
modules/pref-feeds.php

index 0a1fed09609d04073d4a6b68960e186bef9a82fa..e16fa9b13990eb995bdabc0076bcff9340b52469 100644 (file)
                        case 2:
                                print_error(T_sprintf("Could not subscribe to <b>%s</b>.", $feed_url));
                                break;
+                       case 3:
+                               print_error(T_sprintf("No feeds found in <b>%s</b>.", $feed_url));
+                               break;
                        case 0:
                                print_warning(T_sprintf("Already subscribed to <b>%s</b>.", $feed_url));
                                break;