Skip to content

Commit

Permalink
Update app/code/Magento/Cms/Model/Page/DataProvider.php
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel da Gama <[email protected]>
  • Loading branch information
Lars Roettig and gabrieldagama authored Dec 7, 2020
1 parent 6de189f commit 17d3895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Cms/Model/Page/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private function getCurrentPage(): Page

$pageId = (int)$this->request->getParam($this->getRequestFieldName());
if ($pageId === 0) {
throw new LocalizedException(__('Page size must be given'));
throw new LocalizedException(__('Page ID must be given'));
}

if (isset($this->loadedPages[$pageId])) {
Expand Down

0 comments on commit 17d3895

Please sign in to comment.