pref-feeds/add: properly handle rc=3

This commit is contained in:
Andrew Dolgov 2011-06-14 14:19:22 +04:00
parent c4904f2b5a
commit 11adc49e71
1 changed files with 3 additions and 0 deletions

View File

@ -1034,6 +1034,9 @@
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;