Commit 9b389bfe authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(supann) Allow uppercase in supannCodeEntite

issue #5828
Showing with 2 additions and 2 deletions
+2 -2
......@@ -88,7 +88,7 @@ class entite extends simplePlugin
new StringAttribute(
_('Entity code'), _('The SUPANN code of this entity'),
'supannCodeEntite', TRUE,
'', '', '/^[a-z0-9_-]*$/'.(strict_uid_mode() ? '' : 'i')
'', '', '/^[a-z0-9_-]*$/i'
),
new SelectAttribute(
_('Parent entity'), _('The parent entity of this entity'),
......
......@@ -97,7 +97,7 @@ class etablissement extends simplePlugin
new StringAttribute(
_('SUPANN code'), _('The SUPANN code for this Establishment'),
'supannCodeEntite', TRUE,
'', '', '/^[a-z0-9_-]*$/'.(strict_uid_mode() ? '' : 'i')
'', '', '/^[a-z0-9_-]*$/i'
),
new StringAttribute(
_('Legal name'), _('The legal name of this Establishment'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment