From 95aefa42fcdc45d3e78a952b6b7cd86d4e98a6eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Noack?= <noack@data-quest.de>
Date: Wed, 5 Apr 2023 12:32:09 +0000
Subject: [PATCH] =?UTF-8?q?Resolve=20"Sperrregel=20f=C3=BCr=20Ausfalltermi?=
 =?UTF-8?q?ne=20erlaubt=20Wiederherstellung"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #2516

Merge request studip/studip!1707
---
 app/views/course/timesrooms/_cycleRow.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/course/timesrooms/_cycleRow.php b/app/views/course/timesrooms/_cycleRow.php
index d5a26b325d1..6f4f459292c 100644
--- a/app/views/course/timesrooms/_cycleRow.php
+++ b/app/views/course/timesrooms/_cycleRow.php
@@ -90,7 +90,7 @@ $is_exTermin = $termin instanceof CourseExDate;
     </td>
     <td class="actions">
         <? $actionMenu = ActionMenu::get()->setContext($termin) ?>
-    <? if ($is_exTermin): ?>
+    <? if ($is_exTermin && !$locked): ?>
         <? $actionMenu->addLink(
             $controller->url_for(
                 'course/timesrooms/cancel/' . $termin->id
-- 
GitLab