LSformRule_rangelength : fixed another php syntax bug

This commit is contained in:
Benjamin Renard 2010-04-16 14:59:01 +02:00
parent 5a3b3198a2
commit 5247955cfc

View file

@ -44,7 +44,7 @@ class LSformRule_rangelength extends LSformRule {
return;
}
$len=strlen($value);
return ($len >= $$options['params']['limits'][0] && $len <= $$options['params']['limits'][1]);
return ($len >= $options['params']['limits'][0] && $len <= $options['params']['limits'][1]);
}
}