diff options
author | sunnavy <sunnavy@bestpractical.com> | 2022-10-04 22:39:17 +0300 |
---|---|---|
committer | sunnavy <sunnavy@bestpractical.com> | 2022-10-19 00:25:59 +0300 |
commit | a25e815eec6414668cb25d014b461316cdc97664 (patch) | |
tree | d5667ece58299089f236ee7d24e03b8663105c5d /share | |
parent | 76f93bf82b0039ae58b352f9becc58c26de4382a (diff) |
Relax requirements about role names to be unique for each lookup type
Diffstat (limited to 'share')
-rw-r--r-- | share/html/Admin/CustomRoles/Modify.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/html/Admin/CustomRoles/Modify.html b/share/html/Admin/CustomRoles/Modify.html index f6a73baa3d..35b14b7fb9 100644 --- a/share/html/Admin/CustomRoles/Modify.html +++ b/share/html/Admin/CustomRoles/Modify.html @@ -133,7 +133,7 @@ $EnabledChecked = 'checked="checked"'; unless ($Create) { if ( defined $id && $id eq 'new' ) { - my ($val, $msg) = $RoleObj->Create( Name => $Name ); + my ($val, $msg) = $RoleObj->Create( Name => $Name, LookupType => $LookupType ); if (!$val) { $Create = 1; # Create failed, so bring us back to step 1 push @results, $msg; |