mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
LSformRule_rangelength : fixed php syntax bug
This commit is contained in:
parent
9382ed946a
commit
5a3b3198a2
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class LSformRule_rangelength extends LSformRule {
|
|||
*/
|
||||
function validate ($value,$options=array(),$formElement) {
|
||||
if(!isset($options['params']['limits'])) {
|
||||
LSerror :: addErrorCode('LSformRule_01',array('type' => 'rangelength', 'param' => 'limit');
|
||||
LSerror :: addErrorCode('LSformRule_01',array('type' => 'rangelength', 'param' => 'limit'));
|
||||
return;
|
||||
}
|
||||
$len=strlen($value);
|
||||
|
|
Loading…
Reference in a new issue