1
0
Fork 0
forked from blallo/rss-bridge

[core] really fix bridges without parameters

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-28 10:38:56 +02:00
parent 3fed12af1d
commit 93634ada3a

View file

@ -264,6 +264,11 @@ abstract class BridgeAbstract implements BridgeInterface {
if(!empty($inputs)){ if(!empty($inputs)){
$this->returnClientError('Invalid parameters value(s)'); $this->returnClientError('Invalid parameters value(s)');
} }
$this->collectData();
if(!is_null($this->cache)){
$this->cache->saveData($this->getDatas());
}
return; return;
} }