// bad commit sorry

This commit is contained in:
gRoussac
2013-10-11 10:32:30 +02:00
parent 36ca7bc508
commit 7b02da5fdf
+1 -1
View File
@@ -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'];