Fix typo in validator
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
fa7a9b787b
commit
c93c82ee9c
@ -570,7 +570,7 @@ function validate_non_negative_number($path, $values)
|
||||
*/
|
||||
function validate_by_regex($path, $values, $regex)
|
||||
{
|
||||
if (empty($values[$path)) {
|
||||
if (empty($values[$path])) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user