Skip to content

Commit

Permalink
Increment package version, couple of fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mesuva committed Aug 23, 2017
1 parent 78e7f89 commit 3203c9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Controller extends Package
{
protected $pkgHandle = 'community_store';
protected $appVersionRequired = '5.7.5';
protected $pkgVersion = '1.2';
protected $pkgVersion = '1.2.1';

public function getPackageDescription()
{
Expand Down
2 changes: 1 addition & 1 deletion single_pages/dashboard/store/products.php
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ function addOptionItem(group){
</div>
<?php }

if ($comboOptions >= 50) { ?>
if (count($comboOptions) >= 50) { ?>
<p class="alert alert-warning"><?= t('Maximum variations reached') ?></p>
<?php } ?>

Expand Down
2 changes: 1 addition & 1 deletion src/CommunityStore/Order/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ public function completeOrder($transactionReference = null, $sameRequest = false
if ($paymentMethodUsed->getMethodController()->markPaid()) {
$this->completePayment($sameRequest);
}
$sendReceipt = $this->getMethodController()->sendReceipt();
$sendReceipt = $paymentMethodUsed->getMethodController()->sendReceipt();
}
}

Expand Down

0 comments on commit 3203c9a

Please sign in to comment.