Skip to content

Commit

Permalink
Redefined procedure to get the Mautic Id
Browse files Browse the repository at this point in the history
  • Loading branch information
Woeler committed Aug 8, 2017
1 parent 3e0d414 commit b7a9b6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Domain/Finishers/MauticFinisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ protected function executeInternal()
{
$formDefinition = $this->finisherContext->getFormRuntime()->getFormDefinition()->getRenderingOptions();

if (empty($this->parseOption('mauticId'))) {
$mauticId = (int) $this->parseOption('mauticId');

if (empty($mauticId)) {
$mauticId = (int) $formDefinition['mauticId'];
} else {
$mauticId = (int) $this->parseOption('mauticId');
}

if (!$this->mauticService->checkConfigPresent()) {
Expand Down

0 comments on commit b7a9b6d

Please sign in to comment.