Compare commits

...

2 Commits

Author SHA1 Message Date
Bizley c1d815b60c
Merge branch 'master' into 19238-remove-casting 3 years ago
Alexander Makarov 74c026d7fe
Remove casting 3 years ago
  1. 1
      framework/validators/FilterValidator.php

1
framework/validators/FilterValidator.php

@ -75,7 +75,6 @@ class FilterValidator extends Validator
{
$value = $model->$attribute;
if (!$this->skipOnArray || !is_array($value)) {
$value = isset($value) ? $value : '';
$model->$attribute = call_user_func($this->filter, $value);
}
}

Loading…
Cancel
Save