1
0
Fork 0
forked from blallo/rss-bridge
rss-bridge/lib
logmanoriginal 1b1ab6a66e [validation] Fix error on undefined optional numeric value
Providing no value for an optional numeric parameter results in
error "Parameter *** is invalid!"

This is caused by the validation function ignoring the 'required'
attribute when loading and checking input parameters.

This commit adds checks to determine whether the 'required' attri-
bute is defined and active before returning the error message.

References #570:
2017-08-17 19:02:50 +02:00
..
Bridge.php [Bridge] Remove superfuous variables and statements 2017-08-06 00:04:07 +02:00
BridgeAbstract.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
BridgeInterface.php core: Use methods to access bridge information 2017-02-15 19:38:32 +01:00
Cache.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CacheInterface.php [cache] Specify cache duration for 'purgeCache' 2016-10-08 16:18:10 +02:00
contents.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
error.php [core] Fix typos 2016-11-09 19:10:40 +01:00
Exceptions.php exception: Use built-in HTTP response codes 2017-08-06 12:55:11 +02:00
FeedExpander.php [FeedExpander] Fix Serialization of 'SimpleXMLElement' is not allowed 2017-08-10 13:35:19 +02:00
Format.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FormatAbstract.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FormatInterface.php [FormatInterface] Add missing public functions 2016-11-09 18:41:24 +01:00
html.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
RssBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
validation.php [validation] Fix error on undefined optional numeric value 2017-08-17 19:02:50 +02:00