Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorsunnavy <sunnavy@bestpractical.com>2022-10-04 22:39:17 +0300
committersunnavy <sunnavy@bestpractical.com>2022-10-19 00:25:59 +0300
commita25e815eec6414668cb25d014b461316cdc97664 (patch)
treed5667ece58299089f236ee7d24e03b8663105c5d /share
parent76f93bf82b0039ae58b352f9becc58c26de4382a (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.html2
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;