From e5452ff507b5647fe63e7fab6f0696a311d8543c Mon Sep 17 00:00:00 2001
From: David Siegfried <david.siegfried@uni-vechta.de>
Date: Mon, 6 Mar 2023 11:20:32 +0000
Subject: [PATCH] prevent php-warnings, refs #2268

Merge request studip/studip!1494
---
 templates/sidebar/room-clipboard-item.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/sidebar/room-clipboard-item.php b/templates/sidebar/room-clipboard-item.php
index da848f7acf1..86c29508891 100644
--- a/templates/sidebar/room-clipboard-item.php
+++ b/templates/sidebar/room-clipboard-item.php
@@ -30,7 +30,7 @@ if (!$item) {
 ?>
 <tr class="<?= htmlReady($classes) ?>"
     data-range_id="<?= htmlReady($item['range_id'] ?? '') ?>">
-    <td class="item-name"><?= htmlReady($item['name']) ?></td>
+    <td class="item-name"><?= htmlReady($item['name'] ?? '') ?></td>
     <td class="actions">
         <a href="<?= Room::getLinkForAction('show', (!empty($item) ? $item['range_id'] : 'RANGE_ID')) ?>" data-dialog>
             <?= Icon::create(
-- 
GitLab