aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-10-17 10:00:42 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-10-17 10:00:42 +0000
commit339b5ec4d92d35be6443dc14998b6eaf0d9ae859 (patch)
tree8515fbaf4938f0b6370181b78a21679949f07a85 /lib
parent9b99e3b5c32c68e43367a616cef276d17f27fba5 (diff)
Resolve "Datenschutzerklärung kann während Auswahl der Sichtbarkeit/Nutzungsbedingung nicht geöffnet werden"
Closes #3912 Merge request studip/studip!2768
Diffstat (limited to 'lib')
-rw-r--r--lib/seminar_open.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/seminar_open.php b/lib/seminar_open.php
index 7e3acf6..84215fb 100644
--- a/lib/seminar_open.php
+++ b/lib/seminar_open.php
@@ -220,7 +220,8 @@ if ($seminar_open_redirected) {
// Show terms on first login
if (is_object($GLOBALS['user'])
&& $GLOBALS['user']->needsToAcceptTerms()
- && !match_route('dispatch.php/terms'))
+ && !match_route('dispatch.php/terms')
+ && !match_route('dispatch.php/siteinfo/*'))
{
if (!Request::isXhr()) {
header('Location: ' . URLHelper::getURL('dispatch.php/terms', ['return_to' => $_SERVER['REQUEST_URI'], 'redirect_token' => Token::create(600)], true));
@@ -239,6 +240,7 @@ if (
Config::get()->DOZENT_ALWAYS_VISIBLE
&& $perm->get_perm() === 'dozent'
)
+ && !match_route('dispatch.php/siteinfo/*')
) {
require_once('lib/user_visible.inc.php');
first_decision($GLOBALS['user']->id);