mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +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) {
|
function validate ($value,$options=array(),$formElement) {
|
||||||
if(!isset($options['params']['limits'])) {
|
if(!isset($options['params']['limits'])) {
|
||||||
LSerror :: addErrorCode('LSformRule_01',array('type' => 'rangelength', 'param' => 'limit');
|
LSerror :: addErrorCode('LSformRule_01',array('type' => 'rangelength', 'param' => 'limit'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$len=strlen($value);
|
$len=strlen($value);
|
||||||
|
|
Loading…
Reference in a new issue