mirror of
https://github.com/typemill/typemill.git
synced 2025-08-09 15:47:09 +02:00
Version 1.4.1: Custom fields finished
This commit is contained in:
@@ -61,7 +61,7 @@ class Validation
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}, 'contains one or more invalid ip-adress');
|
||||
}, 'contains one or more invalid ip-adress.');
|
||||
|
||||
Validator::addRule('customfields', function($field, $value, array $params, array $fields) use ($user)
|
||||
{
|
||||
@@ -78,7 +78,7 @@ class Validation
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}, 'contains one or more invalid values');
|
||||
}, 'some fields are empty or contain invalid values.');
|
||||
|
||||
Validator::addRule('checkPassword', function($field, $value, array $params, array $fields) use ($user)
|
||||
{
|
||||
|
Reference in New Issue
Block a user