// bad commit sorry
This commit is contained in:
1 parent
36ca7bc508
commit
7b02da5fdf
1 file changed
+1
-1
@@ -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