diff --git a/public_html/conf/LSobjects/config.LSobjects.LSpeople.php b/public_html/conf/LSobjects/config.LSobjects.LSpeople.php
index 794aac43..cf55d8ae 100644
--- a/public_html/conf/LSobjects/config.LSobjects.LSpeople.php
+++ b/public_html/conf/LSobjects/config.LSobjects.LSpeople.php
@@ -235,7 +235,7 @@ $GLOBALS['LSobjects']['LSpeople'] = array (
'default_value' => 'toto',
'check_data' => array (
'alphanumeric' => array(
- 'params' => array('with_accents' => true),
+ 'params' => array('withAccents' => true),
'msg' => 'The first name must contain alphanumeric values only.'
),
),
diff --git a/public_html/includes/class/class.LSformRule_alphanumeric.php b/public_html/includes/class/class.LSformRule_alphanumeric.php
index efd0d325..ef384ad6 100644
--- a/public_html/includes/class/class.LSformRule_alphanumeric.php
+++ b/public_html/includes/class/class.LSformRule_alphanumeric.php
@@ -39,7 +39,7 @@ class LSformRule_alphanumeric extends LSformRule {
function validate ($value,$options=array(),$formElement) {
- if (isset($options['params']['with_accents']) && $options['params']['with_accents'] == true){
+ if (isset($options['params']['withAccents']) && $options['params']['withAccents'] == true){
$regex = '/(*UTF8)^[0-9\p{L}]+$/';
}
else {