Skip to content

Commit

Permalink
MAGETWO-43822: Incorrect Request Path generated for child category if…
Browse files Browse the repository at this point in the history
… Edit URL Rewrites from Category Page
  • Loading branch information
Michail Slabko committed Oct 27, 2015
1 parent b17b105 commit af352eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ protected function isGlobalScope($storeId)
*/
protected function updateUrlPathForCategory(Category $category)
{
$category->unsUrlPath();
$category->setUrlPath($this->categoryUrlPathGenerator->getUrlPath($category));
$category->getResource()->saveAttribute($category, 'url_path');
}
Expand Down

0 comments on commit af352eb

Please sign in to comment.