modify plugin name

This commit is contained in:
2022-02-25 17:17:29 +08:00
parent db725b710d
commit ff58f2392a
+3 -1
View File
@@ -103,7 +103,9 @@ abstract class BaseValidator
{ {
$this->isFail = FALSE; $this->isFail = FALSE;
$message = str_replace(':attribute', $field, $message); if (!is_null($field)) {
$message = str_replace(':attribute', $field, $message);
}
$this->message = $message; $this->message = $message;