mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 08:28:46 +00:00
[Castorus] fix and code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
3d76ac5d17
commit
7710613e62
@ -74,11 +74,8 @@ class CastorusBridge extends BridgeAbstract {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function collectData(){
|
public function collectData(){
|
||||||
if(isset($this->getInput('zip')))
|
$zip_filter = trim($this->getInput('zip'));
|
||||||
$zip_filter = trim($this->getInput('zip'));
|
$city_filter = trim($this->getInput('city'));
|
||||||
|
|
||||||
if(isset($this->getInput('city')))
|
|
||||||
$city_filter = trim($this->getInput('city'));
|
|
||||||
|
|
||||||
$html = $this->getSimpleHTMLDOM($this->uri);
|
$html = $this->getSimpleHTMLDOM($this->uri);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user