Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS

This commit is contained in:
Andrew Dolgov 2013-05-14 16:47:42 +04:00
commit 32d0ccb87d
1 changed files with 6 additions and 2 deletions

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;
}
}