pdscopes / php-form-validator

Simple, extendable form validator for multi-dimensional forms
MIT License
11 stars 3 forks source link

UUID fails if a non-string is sent #5

Closed pdscopes closed 4 years ago

pdscopes commented 4 years ago

If you attempt validate a UUID but send, for example, an array then the following error occurs:


<b>Warning</b>:  preg_match() expects parameter 2 to be string, array given in <b>/var/www/html/vendor/madesimple/php-form-validator/src/Validate.php</b> on line <b>993</b><br />```
pdscopes commented 4 years ago

This has been fixed by 10b0ee6ea4082222fe6acfca4ecd6cb240ad9977