Respect eneable fields in custom page repository when appropriate
This commit is contained in:
@@ -69,14 +69,14 @@ class BackendController extends ActionController
|
||||
|
||||
public function initializeAction()
|
||||
{
|
||||
$this->pageUid = (integer)GeneralUtility::_GET('id');
|
||||
$this->pageUid = (int)GeneralUtility::_GET('id');
|
||||
|
||||
parent::initializeAction();
|
||||
}
|
||||
|
||||
public function listPagesAction()
|
||||
{
|
||||
$pages = $this->pageRepository->findPagesByPid($this->pageUid);
|
||||
$pages = $this->pageRepository->findPagesByPid($this->pageUid, true);
|
||||
|
||||
$this->view->assign('pages', $pages);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user