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