Commit a597b2a8 authored by Romixua's avatar Romixua Committed by pifagor

Issue #3087560 by Romixua, pifagor, alex_optim, SabitDev: Error during the renaming of XML sitemap

parent 6bcafcdf
......@@ -27,7 +27,6 @@ class XmlSitemapForm extends EntityForm {
$form = parent::form($form, $form_state);
if ($this->entity->getContext() == NULL) {
$this->entity->context = [];
$this->entity->setOriginalId(NULL);
}
$xmlsitemap = $this->entity;
$form['#entity'] = $xmlsitemap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment