Skip to content

Commit

Permalink
fix: url path trim
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-net committed Jan 8, 2025
1 parent ce9391a commit 599a86c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Controller/Adminhtml/Page/Save.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ protected function hydrateLandingPage(LandingPageInterface $landingPage, array $
$data[LandingPageInterface::OVERVIEW_PAGE_ID] = null;
}

$landingPage->setUrlPath($data[LandingPageInterface::URL_PATH]);
$data[LandingPageInterface::URL_PATH] = $landingPage->getUrlPath();

unset($data[LandingPageInterface::FILTER_ATTRIBUTES]);
$this->dataObjectHelper->populateWithArray($landingPage, $data, LandingPageInterface::class);
}
Expand Down

0 comments on commit 599a86c

Please sign in to comment.