Skip to content

Commit

Permalink
Version bump to 1.1.1: Fixes bug that leads to a blank configuration …
Browse files Browse the repository at this point in the history
…page on first-time installation
  • Loading branch information
olance committed May 2, 2019
1 parent 957fdc9 commit fcab9e0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

v1.1.1
------

* Fixes bug that leads to a blank configuration page on first-time installation

v1.1.0
------

Expand Down
2 changes: 1 addition & 1 deletion app/code/community/Alma/Installments/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct()
*/
public function getMerchant($force = false)
{
if (!$this->merchant || $force) {
if ($this->alma && (!$this->merchant || $force)) {
try {
$this->merchant = $this->alma->merchants->me();
} catch (\Exception $e) {
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/Alma/Installments/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<config>
<modules>
<Alma_Installments>
<version>1.1.0</version>
<version>1.1.1</version>
</Alma_Installments>
</modules>
<default>
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": "alma/alma-installments-magento1",
"description": "Integrates Alma Monthly Installments into Magento 1",
"version": "1.1.0",
"version": "1.1.1",
"require": {
"alma/alma-php-client": "*",
"psr/log": "^1.1"
Expand Down

0 comments on commit fcab9e0

Please sign in to comment.