diff --git a/app/views/fachabschluss/abschluesse/index.php b/app/views/fachabschluss/abschluesse/index.php index 2b390001d1cdcb8aa7a0a3d1474764892082ae58..4fba4d50bd151c56298c61b03860e612d6fe5b13 100644 --- a/app/views/fachabschluss/abschluesse/index.php +++ b/app/views/fachabschluss/abschluesse/index.php @@ -60,7 +60,7 @@ $pagination->set_attribute('perPage', MVVController::$items_per_page); $pagination->set_attribute('num_postings', $count); $pagination->set_attribute('page', $page); - $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_abschluesse=%s'; + $page_link = explode('?', $controller->action_url('index'))[0] . '?page_abschluesse=%s'; $pagination->set_attribute('pagelink', $page_link); echo $pagination->render('shared/pagechooser'); ?> diff --git a/app/views/fachabschluss/faecher/index.php b/app/views/fachabschluss/faecher/index.php index 352dcb7c34df20aaf205adc594c04af06034d44e..b07b514eb277efc94ea27c6f73bd7daed2cad614 100644 --- a/app/views/fachabschluss/faecher/index.php +++ b/app/views/fachabschluss/faecher/index.php @@ -61,7 +61,7 @@ $pagination->set_attribute('perPage', MVVController::$items_per_page); $pagination->set_attribute('num_postings', $count); $pagination->set_attribute('page', $page); - $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_faecher=%s'; + $page_link = explode('?', $controller->action_url('index'))[0] . '?page_faecher=%s'; $pagination->set_attribute('pagelink', $page_link); echo $pagination->render('shared/pagechooser'); ?> diff --git a/app/views/lvgruppen/lvgruppen/index.php b/app/views/lvgruppen/lvgruppen/index.php index d5ab6a8dfa955c31244624b2776818a3369eebb6..939fe23c9fe54f189b253155f15a44f56f2b779f 100644 --- a/app/views/lvgruppen/lvgruppen/index.php +++ b/app/views/lvgruppen/lvgruppen/index.php @@ -89,7 +89,7 @@ $pagination->set_attribute('perPage', MVVController::$items_per_page); $pagination->set_attribute('num_postings', $count); $pagination->set_attribute('page', $page); - $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_lvgruppen=%s'; + $page_link = explode('?', $controller->action_url('index'))[0] . '?page_lvgruppen=%s'; $pagination->set_attribute('pagelink', $page_link); echo $pagination->render("shared/pagechooser"); ?> diff --git a/app/views/module/module/index.php b/app/views/module/module/index.php index 7f3df8bcf454b59d0fb0f4f392904261aa9c3c82..196373fba3edd2136539d8546ef57e6b75264e7c 100644 --- a/app/views/module/module/index.php +++ b/app/views/module/module/index.php @@ -27,7 +27,7 @@ $pagination->set_attribute('perPage', MVVController::$items_per_page); $pagination->set_attribute('num_postings', $count); $pagination->set_attribute('page', $page); - $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_module=%s'; + $page_link = explode('?', $controller->action_url('index'))[0] . '?page_module=%s'; $pagination->set_attribute('pagelink', $page_link); echo $pagination->render('shared/pagechooser'); ?> diff --git a/app/views/search/module/index.php b/app/views/search/module/index.php index c072cf07b11e3c1f2cae9acf2a94f71fa2af5b6a..416dd0a8631b41e88cce516f21aebffd5bfe8624 100644 --- a/app/views/search/module/index.php +++ b/app/views/search/module/index.php @@ -51,7 +51,7 @@ $pagination->set_attribute('perPage', MVVController::$items_per_page); $pagination->set_attribute('num_postings', $count); $pagination->set_attribute('page', $page); - $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_module=%s'; + $page_link = explode('?', $controller->action_url('index'))[0] . '?page_module=%s'; $pagination->set_attribute('pagelink', $page_link); echo $pagination->render('shared/pagechooser'); ?> diff --git a/app/views/shared/contacts/index.php b/app/views/shared/contacts/index.php index 607357407332396600accc25a3e9bd216c69979b..297de31b7bdbe4e4467b46262bbddd0bcb8d6272 100644 --- a/app/views/shared/contacts/index.php +++ b/app/views/shared/contacts/index.php @@ -82,7 +82,7 @@ $pagination->set_attribute('perPage', MVVController::$items_per_page); $pagination->set_attribute('num_postings', $count); $pagination->set_attribute('page', $page); - $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_contacts=%s'; + $page_link = explode('?', $controller->action_url('index'))[0] . '?page_contacts=%s'; $pagination->set_attribute('pagelink', $page_link); echo $pagination->render('shared/pagechooser'); ?>