summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-04-17 10:35:27 +0200
committerSimon Rettberg2023-04-17 10:35:27 +0200
commit10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8 (patch)
tree410699b877778c4f76f8a0b111cb2a9d3a63cc41
parent[locationinfo] Fix: Panels with deleted rooms are invisible in list (diff)
downloadslx-admin-10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8.tar.gz
slx-admin-10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8.tar.xz
slx-admin-10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8.zip
[locationinfo] HiS: ID-regex for title was apparently to short
-rw-r--r--modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php
index 4d70e5aa..738b5b14 100644
--- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php
+++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php
@@ -48,7 +48,7 @@ class CourseBackend_HisInOne extends ICalCourseBackend
$title = parent::toTitle($event);
// His in one seems to prefix *some* (but *not* all) of the lectures by their ID/("Nummer")
// No clue what that format is supposed to be, this regex is some guesswork after observing this for a while
- $title = preg_replace('#^[0-9][0-9A-ZÄÖÜ]{3,9}-[A-Za-z0-9/_ÄÖÜäöüß.-]{4,20}\s+#u', '', $title);
+ $title = preg_replace('#^[0-9][0-9A-ZÄÖÜ]{3,9}-[A-Za-z0-9/_ÄÖÜäöüß.-]{4,30}\s+#u', '', $title);
return $title;
}