From 046d6f8004887ff7439c39cc5ad72e4205c227cb Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 31 Dec 2009 14:22:05 +0100 Subject: [PATCH] LSformRule_minlength : Fix php syntax bug. --- public_html/includes/class/class.LSformRule_minlength.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSformRule_minlength.php b/public_html/includes/class/class.LSformRule_minlength.php index b0916b47..e770a262 100644 --- a/public_html/includes/class/class.LSformRule_minlength.php +++ b/public_html/includes/class/class.LSformRule_minlength.php @@ -39,7 +39,7 @@ class LSformRule_minlength extends LSformRule { */ function validate ($value,$options,$formElement) { if(!isset($options['params']['limit'])) { - LSerror :: addErrorCode('LSformRule_01',array('type' => 'minlength', 'param' => 'limit'); + LSerror :: addErrorCode('LSformRule_01',array('type' => 'minlength', 'param' => 'limit')); return; } return (strlen($value)>=$options['params']['limit']);