Skip to content

Commit

Permalink
Merge pull request #308 from myparcelnl/fix-mailbox-not-active
Browse files Browse the repository at this point in the history
v1.11.5 check mailbox not active
  • Loading branch information
Reindert authored Apr 6, 2017
2 parents 8069836 + a143bfb commit 4f683b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/code/community/TIG/MyParcel2014/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,9 @@ public function getPackageType($items, $country, $getAdminTitle = false, $hasExt
*/
private function fitInLetterbox($items)
{
if ($this->getConfig('mailbox_active', 'mailbox') == '0')
return false;

$mailboxWeight = (float)$this->getConfig('mailbox_weight', 'mailbox');
$itemWeight = 0;

Expand Down
2 changes: 1 addition & 1 deletion app/code/community/TIG/MyParcel2014/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<TIG_MyParcel2014>
<version>1.11.4</version>
<version>1.11.5</version>
</TIG_MyParcel2014>
</modules>
<global>
Expand Down

0 comments on commit 4f683b6

Please sign in to comment.