Vérifie le format de l'attribut supannActivity

This commit is contained in:
root 2014-11-10 17:20:10 +00:00
parent c9b36bcd9e
commit e16dd0208c
1 changed files with 6 additions and 0 deletions

View File

@ -962,6 +962,12 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
'label' => 'Activities',
'ldap_type' => 'ascii',
'html_type' => 'supannLabeledValue',
'check_data' => array (
'regex' => array(
'msg' => "You must set a labeled value. ex. : {SUPANN}S023",
'params' => array('regex' => "/^{[^}]+}.*$/"),
),
),
'multiple' => 1,
'rights' => array(
'admin' => 'w'