mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[core] fix bridges without parameters
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
fa7cd4a739
commit
16dc7fcb6f
@ -260,9 +260,12 @@ abstract class BridgeAbstract implements BridgeInterface {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(empty($this->parameters) && !empty($inputs)){
|
if(empty($this->parameters)){
|
||||||
$this->returnClientError('Invalid parameters value(s)');
|
if(!empty($inputs)){
|
||||||
};
|
$this->returnClientError('Invalid parameters value(s)');
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(!$this->validateData($inputs)){
|
if(!$this->validateData($inputs)){
|
||||||
$this->returnClientError('Invalid parameters value(s)');
|
$this->returnClientError('Invalid parameters value(s)');
|
||||||
|
Loading…
Reference in New Issue
Block a user