diff --git a/README.md b/README.md index b6bb3c6..dfaaec6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Prestaneo reads standard CSV files from the Akeneo exports in order to import da * **Multi-site**: Prestaneo is natively compatible with the “multi-store” and the “multi-language” features of Prestashop. ## Requirements -**Prestaneo** is designed to work on **Prestashop 1.5** & **Prestashop 1.6** based on generated CSV files from **Akeneo 1.3+** +**Prestaneo** is designed to work on **Prestashop 1.5+** based on generated CSV files from **Akeneo 1.3+** PHP : **PHP 5.3+** diff --git a/modules/prestaneo/models/import/category.php b/modules/prestaneo/models/import/category.php index c6c7207..d832d26 100644 --- a/modules/prestaneo/models/import/category.php +++ b/modules/prestaneo/models/import/category.php @@ -142,7 +142,7 @@ public function process() $data[$this->_offsets['default']['id_shop_default']] = $contextShopId; } - if (empty($data[$this->_offsets['default']['active']])) { + if (!isset($data[$this->_offsets['default']['active']])) { $data[$this->_offsets['default']['active']] = 1; } @@ -424,4 +424,4 @@ protected function _reorderByCategoryId($categoryId, $shopId) return $return; } -} \ No newline at end of file +}