1
0
Fork 0
forked from blallo/rss-bridge

[Castorus] fix and code simplification

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-28 12:26:21 +02:00
parent 3d76ac5d17
commit 7710613e62

View file

@ -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);