From 6df5963a9c0ea549d5b95a891db143610856fedb Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 14 Jan 2009 10:28:10 +0000 Subject: [PATCH] - LSformRule_maxlength : Correction d'une erreur de syntaxe --- trunk/includes/class/class.LSformRule_maxlength.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/includes/class/class.LSformRule_maxlength.php b/trunk/includes/class/class.LSformRule_maxlength.php index 585481cd..21c1250f 100644 --- a/trunk/includes/class/class.LSformRule_maxlength.php +++ b/trunk/includes/class/class.LSformRule_maxlength.php @@ -39,7 +39,7 @@ class LSformRule_maxlength extends LSformRule { */ function validate ($value,$options,$formElement) { if(!isset($options['params']['limit'])) { - $GLOBALS['LSerror'] -> addErrorCode('LSformRule_01',array('type' => 'maxlength', 'param' => 'limit'); + $GLOBALS['LSerror'] -> addErrorCode('LSformRule_01',array('type' => 'maxlength', 'param' => 'limit')); return; } return (strlen($value)<=$options['params']['limit']);