From 5a3b3198a290a11e244b594f4079fcac2e51fc54 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 16 Apr 2010 14:52:21 +0200 Subject: [PATCH] LSformRule_rangelength : fixed php syntax bug --- public_html/includes/class/class.LSformRule_rangelength.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSformRule_rangelength.php b/public_html/includes/class/class.LSformRule_rangelength.php index c512a468..3a17b00e 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' => 'limit')); return; } $len=strlen($value);