// bad commit sorry
This commit is contained in:
@@ -942,7 +942,7 @@ class AdminImportControllerCore extends AdminController
|
||||
}
|
||||
elseif (isset($category->parent) && is_string($category->parent))
|
||||
{
|
||||
$category_parent = Category::searchByName($default_language_id, $category->parent);
|
||||
$category_parent = Category::searchByName($default_language_id, $category->parent, true);
|
||||
if ($category_parent['id_category'])
|
||||
{
|
||||
$category->id_parent = (int)$category_parent['id_category'];
|
||||
|
||||
Reference in New Issue
Block a user