modify plugin name
This commit is contained in:
+3
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user