diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /templates/dates/seminar_html.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'templates/dates/seminar_html.php')
| -rw-r--r-- | templates/dates/seminar_html.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/dates/seminar_html.php b/templates/dates/seminar_html.php index 47aa0aa..f227a57 100644 --- a/templates/dates/seminar_html.php +++ b/templates/dates/seminar_html.php @@ -55,11 +55,10 @@ if (!$dates['regular']['turnus_data'] && empty($dates['irregular'])) { } $irregular_rooms[$date['resource_id']]++; } elseif ($date['raum']) { - $temp = '(' . htmlReady($date['raum']) . ')'; - if (!isset($freetext_rooms[$temp])) { - $freetext_rooms[$temp] = 0; + if (!isset($freetext_rooms[$date['raum']])) { + $freetext_rooms[$date['raum']] = 0; } - $freetext_rooms[$temp]++; + $freetext_rooms[$date['raum']]++; } } // Remove invalid entry if present |
