1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-30 07:07:12 +00:00

Merge pull request #188 from kpn3m0/patch-1

Feature #686
This commit is contained in:
Andrew Dolgov
2013-05-14 05:36:48 -07:00

View File

@@ -49,7 +49,9 @@ class FeedParser {
$this->type = $this::FEED_ATOM;
break;
default:
$this->error = "Unknown/unsupported feed type";
if( !isset($this->error) ){
$this->error = "Unknown/unsupported feed type";
}
return;
}
@@ -121,7 +123,9 @@ class FeedParser {
}
} else {
$this->error = "Unknown/unsupported feed type";
if( !isset($this->error) ){
$this->error = "Unknown/unsupported feed type";
}
return;
}
}