Skip to content

Commit

Permalink
Fix trailing slash used a product & category URL suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-sviziev committed Jun 26, 2017
1 parent c4b5874 commit 0ee7c9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/code/Magento/UrlRewrite/Model/Storage/DbStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,10 @@ protected function doFindOneByData($data)
UrlRewrite::REQUEST_PATH => $requestPath,
UrlRewrite::TARGET_PATH => $resultFromDb[UrlRewrite::REQUEST_PATH],
UrlRewrite::REDIRECT_TYPE => OptionProvider::PERMANENT,
UrlRewrite::REDIRECT_TYPE => OptionProvider::PERMANENT,
UrlRewrite::STORE_ID => $resultFromDb[UrlRewrite::STORE_ID],
UrlRewrite::DESCRIPTION => null,
UrlRewrite::IS_AUTOGENERATED => '0',
UrlRewrite::METADATA => NULL,
UrlRewrite::METADATA => null,
];
}
} else {
Expand Down

0 comments on commit 0ee7c9c

Please sign in to comment.