Skip to content

Commit 17d3895

Browse files
Lars Roettiggabrieldagama
andauthored
Update app/code/Magento/Cms/Model/Page/DataProvider.php
Co-authored-by: Gabriel da Gama <gabriel@gabrielgama.com.br>
1 parent 6de189f commit 17d3895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Model/Page/DataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private function getCurrentPage(): Page
159159

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

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

0 commit comments

Comments
 (0)