diff --git a/public_html/includes/class/class.LSformRule_rangelength.php b/public_html/includes/class/class.LSformRule_rangelength.php
index 1e4b4c75..0ec59956 100644
--- a/public_html/includes/class/class.LSformRule_rangelength.php
+++ b/public_html/includes/class/class.LSformRule_rangelength.php
@@ -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' => 'limits'));
return;
}
$len=strlen($value);