From a1c4bcbbcd22b6412e51532b79b0ab6b44473cf8 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 25 Jan 2009 18:10:00 +0000 Subject: [PATCH] =?UTF-8?q?-=20LSeepeople=20:=20Correction=20d'une=20incoh?= =?UTF-8?q?=C3=A9rence=20dans=20la=20config=20de=20l'attribut=20uid.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trunk/conf/LSobjects/config.LSobjects.LSeepeople.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php b/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php index 17fae517..953edc0a 100644 --- a/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php +++ b/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php @@ -133,8 +133,9 @@ $GLOBALS['LSobjects']['LSeepeople'] = array ( ), 'required' => 1, 'check_data' => array ( - 'alphanumeric' => array( - 'msg' => _("L'identifiant ne doit comporter que des lettres et des chiffres.") + 'regex' => array( + 'msg' => _("L'identifiant ne doit comporter que des lettres, des chiffres ou des '.' ou des '-'."), + 'params' => array('regex' => '/^[a-zA-Z0-9-_\.]*$/') ), ), 'validation' => array (