Make description a required attribute and do not generate it using 'o' or 'ou' attributes (fixes #9800)
This commit is contained in:
parent
c6ec74edcf
commit
cc18bd29c6
|
@ -124,9 +124,6 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
|
|||
'modify' => 1,
|
||||
'create' => 1
|
||||
),
|
||||
'dependAttrs' => array (
|
||||
'description'
|
||||
)
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
|
@ -208,7 +205,7 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
|
|||
'label' => 'Description',
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'textarea',
|
||||
'generate_value_format' => '%{ou}',
|
||||
'required' => 1,
|
||||
'multiple' => 0,
|
||||
'rights' => array(
|
||||
'admin' => 'w'
|
||||
|
|
|
@ -89,6 +89,7 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
|
|||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'textarea',
|
||||
'multiple' => 0,
|
||||
'required' => 1,
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
|
@ -132,9 +133,6 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
|
|||
'modify' => 1,
|
||||
'create' => 1
|
||||
),
|
||||
'dependAttrs' => array (
|
||||
'description'
|
||||
)
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
|
|
|
@ -193,8 +193,8 @@ $GLOBALS['LSobjects']['LSsupannOrg'] = array (
|
|||
'label' => 'Description',
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'textarea',
|
||||
'generate_value_format' => '%{o}',
|
||||
'multiple' => 0,
|
||||
'required' => 1,
|
||||
'rights' => array(
|
||||
'admin' => 'w'
|
||||
),
|
||||
|
|
Reference in New Issue