aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorRasmus Fuhse <fuhse@data-quest.de>2024-12-13 08:47:34 +0000
committerRasmus Fuhse <fuhse@data-quest.de>2024-12-13 08:47:34 +0000
commite91bdb5a66b1d2a2592be1c08a92da9d97e4f433 (patch)
treed2efc1bafaff1ce4c8f720d163a161c000c5f316 /public
parente9666d6f7596dee84e525c50b1eaf8fe47963775 (diff)
Resolve "VA lässt sich aus Übersicht nicht merh öffnen"
Closes #5013 Merge request studip/studip!3758
Diffstat (limited to 'public')
-rw-r--r--public/seminar_main.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/public/seminar_main.php b/public/seminar_main.php
index a4ac2fe..6802448 100644
--- a/public/seminar_main.php
+++ b/public/seminar_main.php
@@ -23,5 +23,13 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-require '../lib/bootstrap.php';
+require __DIR__ . '/../lib/bootstrap.php';
+
+// Handle legacy links
+// TODO: Remove at the latest for Stud.IP 7.0
+if (isset($_GET['auswahl']) && !isset($_GET['to'])) {
+ $_GET['to'] = $_GET['auswahl'];
+ unset($_GET['auswahl']);
+}
+
header('Location: ' . URLHelper::getURL('dispatch.php/course/go', $_GET));