[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,11 +74,8 @@ class CastorusBridge extends BridgeAbstract {
|
|||
}
|
||||
|
||||
public function collectData(){
|
||||
if(isset($this->getInput('zip')))
|
||||
$zip_filter = trim($this->getInput('zip'));
|
||||
|
||||
if(isset($this->getInput('city')))
|
||||
$city_filter = trim($this->getInput('city'));
|
||||
$zip_filter = trim($this->getInput('zip'));
|
||||
$city_filter = trim($this->getInput('city'));
|
||||
|
||||
$html = $this->getSimpleHTMLDOM($this->uri);
|
||||
|
||||
|
|
Loading…
Reference in a new issue