Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+**

Expand Down
4 changes: 2 additions & 2 deletions modules/prestaneo/models/import/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -424,4 +424,4 @@ protected function _reorderByCategoryId($categoryId, $shopId)

return $return;
}
}
}