mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-17 15:01:19 +02:00
[Bridge] Return name of the parameter that failed the check
This commit is contained in:
@@ -225,8 +225,10 @@ abstract class BridgeAbstract implements BridgeInterface {
|
||||
break;
|
||||
}
|
||||
|
||||
if(is_null($data[$name]))
|
||||
if(is_null($data[$name])){
|
||||
echo 'Parameter \'' . $name . '\' is invalid!' . PHP_EOL;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user