Skip to content

Commit

Permalink
Merge pull request #754 from mollie/release/2.35.1
Browse files Browse the repository at this point in the history
Release/2.35.1
  • Loading branch information
Marvin-Magmodules authored Feb 28, 2024
2 parents fa60d53 + 07fee17 commit 76719d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Model/Adminhtml/Backend/ChangeApiMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ public function beforeSave(): self
public function afterSave()
{
$apiKey = $this->getApiKey($this->getValue());
$this->updateProfileId->execute($apiKey, $this->getScope(), $this->getScopeId());
if ($apiKey) {
$this->updateProfileId->execute($apiKey, $this->getScope(), $this->getScopeId());
}

return parent::afterSave();
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mollie/magento2",
"description": "Mollie Payment Module for Magento 2",
"version": "2.35.0",
"version": "2.35.1",
"keywords": [
"mollie",
"payment",
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<default>
<payment>
<mollie_general>
<version>v2.35.0</version>
<version>v2.35.1</version>
<active>0</active>
<enabled>0</enabled>
<type>test</type>
Expand Down

0 comments on commit 76719d8

Please sign in to comment.