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