From f6c4560482983c4e48c94853cd221772f1b1a050 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+github@gmail.com>
Date: Thu, 16 May 2024 14:19:11 +0200
Subject: [PATCH] fix incorrect calls to Template::render(), re #4101

---
 app/views/lvgruppen/lvgruppen/index.php   | 2 +-
 app/views/materialien/files/index.php     | 2 +-
 app/views/studiengaenge/faecher/index.php | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/views/lvgruppen/lvgruppen/index.php b/app/views/lvgruppen/lvgruppen/index.php
index d5ab6a8dfa9..2ce6014ba7e 100644
--- a/app/views/lvgruppen/lvgruppen/index.php
+++ b/app/views/lvgruppen/lvgruppen/index.php
@@ -91,7 +91,7 @@
                     $pagination->set_attribute('page', $page);
                     $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_lvgruppen=%s';
                     $pagination->set_attribute('pagelink', $page_link);
-                    echo $pagination->render("shared/pagechooser");
+                    echo $pagination->render();
                     ?>
                 </td>
             </tr>
diff --git a/app/views/materialien/files/index.php b/app/views/materialien/files/index.php
index 1b00cec3d4d..6b898479168 100644
--- a/app/views/materialien/files/index.php
+++ b/app/views/materialien/files/index.php
@@ -111,7 +111,7 @@
                 // ARGH!
                 $page_link = reset(explode('?', $controller->action_url('index'))) . '?page_files=%s';
                 $pagination->set_attribute('pagelink', $page_link);
-                echo $pagination->render("shared/pagechooser");
+                echo $pagination->render();
                 ?>
             </td>
         </tr>
diff --git a/app/views/studiengaenge/faecher/index.php b/app/views/studiengaenge/faecher/index.php
index 1b3f325da2c..485d922784d 100644
--- a/app/views/studiengaenge/faecher/index.php
+++ b/app/views/studiengaenge/faecher/index.php
@@ -64,7 +64,7 @@
                         $parts = explode('?', $controller->action_url('index'));
                         $page_link = reset($parts) . '?page_faecher=%s';
                         $pagination->set_attribute('pagelink', $page_link);
-                        echo $pagination->render("shared/pagechooser");
+                        echo $pagination->render();
                         ?>
                     </td>
                 </tr>
-- 
GitLab