Skip to content
Snippets Groups Projects
Verified Commit 68fbf27e authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix default for tx_sgjobs_pagebrowser

parent ee470e19
No related branches found
No related tags found
1 merge request!48[TASK] Require TYPO3 12
......@@ -195,7 +195,7 @@ class JoblistController extends ActionController {
*/
public function initializeIndexAction(): void {
$currentPageBrowserPage = 0;
$parameters = $this->request->getQueryParams()['tx_sgjobs_pagebrowser'];
$parameters = $this->request->getQueryParams()['tx_sgjobs_pagebrowser'] ?? 0;
if (is_array($parameters)) {
$currentPageBrowserPage = (int) $parameters['currentPage'] ?: 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment