diff options
author | Simon Rettberg | 2023-04-17 10:35:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-04-17 10:35:27 +0200 |
commit | 10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8 (patch) | |
tree | 410699b877778c4f76f8a0b111cb2a9d3a63cc41 /modules-available/locationinfo/inc/coursebackend | |
parent | [locationinfo] Fix: Panels with deleted rooms are invisible in list (diff) | |
download | slx-admin-10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8.tar.gz slx-admin-10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8.tar.xz slx-admin-10221f97f71a9800f0a5eaf6d19bdc2c061bd5f8.zip |
[locationinfo] HiS: ID-regex for title was apparently to short
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 2 |
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; } |