Skip to content

Commit

Permalink
Merge pull request #96 from mundipagg/develop
Browse files Browse the repository at this point in the history
Add integrity file
  • Loading branch information
GabrielDeveloper authored May 20, 2019
2 parents 3ac9cef + f2c5b2c commit 0a1e647
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Concrete/Magento2PlatformCustomerDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ public function getEmail()

public function getDocument()
{
return $this->platformCustomer->getTaxvat();
if (!empty($this->platformCustomer->getTaxvat())) {
return $this->platformCustomer->getTaxvat();
}
return null;
}

public function getType()
Expand Down
Loading

0 comments on commit 0a1e647

Please sign in to comment.