//merge 1.4 => 1.5
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6124 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -540,8 +540,8 @@ class AdminImport extends AdminTab
|
||||
$res = $category->update();
|
||||
|
||||
// If no id_category or update failed
|
||||
if (!$res AND $res = $category->add())
|
||||
$category->addGroups(array(1));
|
||||
if (!$res)
|
||||
$res = $category->add();
|
||||
}
|
||||
//copying images of categories
|
||||
if (isset($category->image) AND !empty($category->image))
|
||||
|
||||
Reference in New Issue
Block a user