parse_counters: properly set error value

This commit is contained in:
Andrew Dolgov 2010-11-24 19:33:44 +03:00
parent 26a1e185e2
commit 700f14260f

View file

@ -326,7 +326,7 @@ function parse_counters(reply, scheduled_call) {
setFeedUnread(id, (kind == "cat"), ctr); setFeedUnread(id, (kind == "cat"), ctr);
if (kind != "cat") { if (kind != "cat") {
//setFeedValue(id, false, 'error', error); setFeedValue(id, false, 'error', error);
setFeedValue(id, false, 'updated', updated); setFeedValue(id, false, 'updated', updated);
if (id > 0) { if (id > 0) {