Skip to content

Commit

Permalink
Fixed console command Admin::Service::Add - does not work after ITSMC…
Browse files Browse the repository at this point in the history
…ore is installed.
  • Loading branch information
dennykorsukewitz committed Aug 27, 2024
1 parent c0c66ec commit a01b481
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 7.1.3 2024-??-??
- 2024-08-27 Fixed console command Admin::Service::Add - does not work after ITSMCore is installed.
- 2024-08-26 Added auto mapping for unknown actions to Znuny.Form.Input.FieldIDMapping.
- 2024-08-23 Fixed evaluation of ticket ID parameter in generic interface operation TicketGet.
- 2024-08-22 Console command Admin::PostMasterFilter::Import now will also update existing filters instead of only create new ones. Thanks to @meisterheister for reporting the issue. [#527](https://github.com/znuny/Znuny/issues/527)
Expand Down
3 changes: 3 additions & 0 deletions Kernel/System/Console/Command/Admin/Service/Add.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ sub new {
sub Configure {
my ( $Self, %Param ) = @_;

my $UtilObject = $Kernel::OM->Get('Kernel::System::Util');
$Self->{IsITSMInstalled} = $UtilObject->IsITSMInstalled();

$Self->Description('Add new service.');
$Self->AddOption(
Name => 'name',
Expand Down

0 comments on commit a01b481

Please sign in to comment.