Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'fix/language_urls' of github.com:plentymarkets/plugin-i…
…o into fix/language_urls
  • Loading branch information
Felix Dausch committed May 14, 2019
2 parents 8f2b559 + 0527834 commit 436ae76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Services/CustomerService.php
Expand Up @@ -348,8 +348,12 @@ public function createContact(array $contactData)
{
$contact = null;
$contactData['checkForExistingEmail'] = true;
$contactData['lang'] = $this->sessionStorage->getLang();
$contactData['plentyId'] = pluginApp(Application::class)->getPlentyId();

if(!isset($contactData['lang']) || is_null($contactData['lang']))
{
$contactData['lang'] = $this->sessionStorage->getLang();
}

try
{
Expand Down

0 comments on commit 436ae76

Please sign in to comment.