forked from blallo/rss-bridge
[Bridge] Return name of the parameter that failed the check
This commit is contained in:
parent
7c36b51aa2
commit
47b6cb8937
1 changed files with 3 additions and 1 deletions
|
@ -225,10 +225,12 @@ abstract class BridgeAbstract implements BridgeInterface {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(is_null($data[$name]))
|
if(is_null($data[$name])){
|
||||||
|
echo 'Parameter \'' . $name . '\' is invalid!' . PHP_EOL;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(!$registered)
|
if(!$registered)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue