From b8f7157eb04d4ed014a19f01a80dc1cbd8ecdf90 Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Fri, 1 Sep 2023 14:02:09 +0200
Subject: reverted changes in calendar/single/_select_calendar

---
 app/views/calendar/single/_select_calendar.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/calendar/single/_select_calendar.php b/app/views/calendar/single/_select_calendar.php
index 7b2b942..e67d62f 100644
--- a/app/views/calendar/single/_select_calendar.php
+++ b/app/views/calendar/single/_select_calendar.php
@@ -3,7 +3,7 @@
     <section class="hgroup">
         <?= _('Kalender') ?>
         <select class="sidebar-selectlist submit-upon-select" style="width: 16em;" name="range_id">
-            <option value="<?= get_userid() ?>"<?= get_userid() === $range_id ? ' selected' : '' ?>>
+            <option value="user.<?= get_username() ?>"<?= get_userid() === $range_id ? ' selected' : '' ?>>
                     <?= _("Eigener Kalender") ?>
             </option>
             <? $groups = Calendar::getGroups($GLOBALS['user']->id); ?>
-- 
cgit v1.0

