[Castorus] fix and code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
3d76ac5d17
commit
7710613e62
1 changed files with 2 additions and 5 deletions
|
@ -74,10 +74,7 @@ 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'));
|
||||||
|
|
||||||
if(isset($this->getInput('city')))
|
|
||||||
$city_filter = trim($this->getInput('city'));
|
$city_filter = trim($this->getInput('city'));
|
||||||
|
|
||||||
$html = $this->getSimpleHTMLDOM($this->uri);
|
$html = $this->getSimpleHTMLDOM($this->uri);
|
||||||
|
|
Loading…
Reference in a new issue