Skip to content

Commit

Permalink
Misc. fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Kumar committed Nov 2, 2022
1 parent 17527d3 commit a57f4fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Services/TicketService.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function getCustomerCreateTicketCustomFieldSnippet()
if ($this->userService->isfileExists('apps/uvdesk/custom-fields')) {
$customFields = $this->container->get('uvdesk_package_custom_fields.service')->getCustomFieldsArray('customer');
} else if ($this->userService->isfileExists('apps/uvdesk/form-component')) {
$customFields = $this->container->get('uvdesk_package_custom_fields.service')->getCustomFieldsArray('customer');
$customFields = $this->container->get('uvdesk_package_form_component.service')->getCustomFieldsArray('customer');
}
} catch (\Exception $e) {
// @TODO: Log execption message
Expand Down Expand Up @@ -1889,9 +1889,9 @@ public function addTicketCustomFields($thread, $requestCustomFields = [], $files

try {
if ($this->userService->isfileExists('apps/uvdesk/custom-fields')) {
$customFieldsService = $this->container->get('uvdesk_package_custom_fields.service');
$customFieldsService = $this->get('uvdesk_package_custom_fields.service');
} else if ($this->userService->isfileExists('apps/uvdesk/form-component')) {
$customFieldsService = $this->container->get('uvdesk_package_form_component.service');
$customFieldsService = $this->get('uvdesk_package_form_component.service');
}
} catch (\Exception $e) {
// @TODO: Log execption message
Expand Down

0 comments on commit a57f4fb

Please sign in to comment.