Use $locale instead of $this->getCurrentEditionLocale() in the hydrateSeoForm method
This commit is contained in:
@@ -139,7 +139,7 @@ abstract class AbstractSeoCrudController extends AbstractCrudController
|
||||
$data = array(
|
||||
'id' => $object->getId(),
|
||||
'locale' => $locale,
|
||||
'url' => $object->getRewrittenUrl($this->getCurrentEditionLocale()),
|
||||
'url' => $object->getRewrittenUrl($locale),
|
||||
'meta_title' => $object->getMetaTitle(),
|
||||
'meta_description' => $object->getMetaDescription(),
|
||||
'meta_keywords' => $object->getMetaKeywords()
|
||||
@@ -185,7 +185,6 @@ abstract class AbstractSeoCrudController extends AbstractCrudController
|
||||
return $this->errorPage($ex);
|
||||
}
|
||||
|
||||
|
||||
$response = $this->performAdditionalUpdateSeoAction($updateSeoEvent);
|
||||
|
||||
if ($response == null) {
|
||||
|
||||
Reference in New Issue
Block a user