Skip to content

Commit

Permalink
Remove whitespaces from category strings
Browse files Browse the repository at this point in the history
  • Loading branch information
supercid committed Oct 14, 2024
1 parent 83c1388 commit cf0b204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Service/Product/Category/DefaultCategoryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function getCategory(Category $category, StoreInterface $store)
['categoryString' => $nostoCategory, 'magentoCategory' => $category]
);
}
return $nostoCategory;
return trim($nostoCategory);
}

/**
Expand Down

0 comments on commit cf0b204

Please sign in to comment.