Fix typo in validator

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-06-17 10:59:03 +02:00
parent fa7a9b787b
commit c93c82ee9c

View File

@ -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 '';
}