This commit is contained in:
Paul 2016-09-11 11:35:09 +00:00 committed by GitHub
commit 3e462316e6
2 changed files with 7 additions and 5 deletions

View File

@ -48,10 +48,12 @@ class ParuVenduImmoBridge extends BridgeAbstract
list($href) = explode('#', $element->href);
$item = array();
$item['uri'] = self::URI.$href;
$item['title'] = $element->title;
$item['content'] = $img.$desc.$price;
$item = new \Item();
$item->uri = $this->getURI().$href;
$item->title = $element->title;
$item->content = $img.$desc.$price;
$this->items[] = $item;
}

View File

@ -96,7 +96,7 @@ EOD;
|| in_array($name . '.php', $whitelist)
|| in_array($name . 'Bridge', $whitelist) // DEPRECATED
|| in_array($name . 'Bridge.php', $whitelist) // DEPRECATED
|| count($whitelist) === 1 and trim($whitelist[0]) === '*'){
|| (count($whitelist) === 1 and trim($whitelist[0]) === '*')) {
return true;
} else {
return false;