Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Commit

Permalink
Checks
Browse files Browse the repository at this point in the history
- fix customer extended attribute for boolean attribute type
  • Loading branch information
ildelux committed Mar 26, 2019
1 parent 1ec00ed commit 0899be1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public function getCustomerExtraProperties($customer, $type = 'extended')
if($type == $map['hub_type'])
{
$value = $this->_getCustomerAttributeValue($map['magento_attribute'], $customer);
if($value)
if(strlen($value) > 0)
{
$extraProperties[$map['hub_attribute']] = $value;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

},
"type": "magento2-module",
"version": "1.4.0",
"version": "1.6.0",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Contactlab_Hub" setup_version="1.5.0">
<module name="Contactlab_Hub" setup_version="1.6.0">
<sequence>
<module name="Contactlab_Core"/>
</sequence>
Expand Down

0 comments on commit 0899be1

Please sign in to comment.