diff --git a/app/views/fachabschluss/abschluesse/index.php b/app/views/fachabschluss/abschluesse/index.php index d6507175fd954bd24f527ee0bd6ca9483ca3782f..147078a97cc7a5e9cc3567b017042f96c35a45d0 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(); ?> diff --git a/app/views/fachabschluss/faecher/index.php b/app/views/fachabschluss/faecher/index.php index dcd9134db8f978f44160b4a7d81338018b7594eb..f2ba7a4427142aac4ca6f1cb7511d595f1deda97 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(); ?> diff --git a/app/views/lvgruppen/lvgruppen/index.php b/app/views/lvgruppen/lvgruppen/index.php index 2ce6014ba7eb054f1ae9dac7e0716a68e7a4adb6..53c09be398dfc197496a6844b0d7365bb7c55185 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(); ?> diff --git a/app/views/module/module/index.php b/app/views/module/module/index.php index 6cd63e9cadeb90c41269ae1c2ee2b15b06f35b12..1028a2db12067eaa8d27859ab4b35ea56605702a 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(); ?> diff --git a/app/views/search/module/index.php b/app/views/search/module/index.php index 8eac916000fe5b3b8b9d75d34686f106115098c0..a2d5c194c085f3fcfcb13de702ddb0d39c2349e9 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(); ?> diff --git a/app/views/shared/contacts/index.php b/app/views/shared/contacts/index.php index 660426309db66863ec0f9594e8b6eb02d083f930..7eecac555b27762dd0e03e4763620966a84b67e8 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(); ?>