diff options
Diffstat (limited to 'lib/classes/Seminar.class.php')
| -rw-r--r-- | lib/classes/Seminar.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/classes/Seminar.class.php b/lib/classes/Seminar.class.php index 6a5903e..b27e2ce 100644 --- a/lib/classes/Seminar.class.php +++ b/lib/classes/Seminar.class.php @@ -307,9 +307,9 @@ class Seminar $cache_key = 'course/undecorated_data/'. $this->id; if ($filter) { - $sub_key = $_SESSION['_language'] .'/'. $this->filterStart .'-'. $this->filterEnd; + $sub_key = ($_SESSION['_language'] ?? 'none') .'/'. $this->filterStart .'-'. $this->filterEnd; } else { - $sub_key = $_SESSION['_language'] .'/unfiltered'; + $sub_key = ($_SESSION['_language'] ?? 'none') .'/unfiltered'; } $data = unserialize($cache->read($cache_key)); |
