Skip to content

Commit

Permalink
Issue #2251: Correcting GetParam to Param in dynamic field driver.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter committed Apr 13, 2023
1 parent 23ed684 commit 3d74e72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Kernel/Modules/AdminDynamicFieldDropdown.pm
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,10 @@ sub _ShowScreen {
# check for namespace
if ( $Param{Name} =~ /(.*)-(.*)/ ) {
$Namespace = $1;
$GetParam{PlainFieldName} = $2;
$Param{PlainFieldName} = $2;
}
else {
$GetParam{PlainFieldName} = $GetParam{Name};
$Param{PlainFieldName} = $Param{Name};
}
}

Expand Down
4 changes: 2 additions & 2 deletions Kernel/Modules/AdminDynamicFieldMultiselect.pm
Original file line number Diff line number Diff line change
Expand Up @@ -640,10 +640,10 @@ sub _ShowScreen {
# check for namespace
if ( $Param{Name} =~ /(.*)-(.*)/ ) {
$Namespace = $1;
$GetParam{PlainFieldName} = $2;
$Param{PlainFieldName} = $2;
}
else {
$GetParam{PlainFieldName} = $GetParam{Name};
$Param{PlainFieldName} = $Param{Name};
}
}

Expand Down

0 comments on commit 3d74e72

Please sign in to comment.