修正验证类一处BUG

This commit is contained in:
thinkphp
2016-10-21 18:03:47 +08:00
parent 294a49b8b1
commit d33ed07d00

View File

@@ -359,6 +359,7 @@ class Validate
} elseif (method_exists($this, $rule)) {
$type = $rule;
$info = $rule;
$rule = '';
} else {
$type = 'is';
$info = $rule;