fix object identifier presence
This commit is contained in:
@@ -163,7 +163,7 @@ trait UrlRewritingTrait {
|
||||
public function setRewrittenUrl($locale, $url)
|
||||
{
|
||||
$currentUrl = $this->getRewrittenUrl($locale);
|
||||
if($currentUrl == $url) {
|
||||
if($currentUrl == $url || null === $url) {
|
||||
/* no url update */
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
formAction = "{url path='/admin/products/seo/save'}"
|
||||
pageUrl = "{url path='/admin/products/update' product_id=$ID}"
|
||||
closeUrl = $close_url
|
||||
current_id = $product_id
|
||||
}
|
||||
{/form}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user