aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2025-06-27 10:36:10 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-06-27 12:36:10 +0200
commit7b6488f3e32f98e6012fb3ba5ca27aec9ae410bf (patch)
treeffcbd5c2a5367f5189504c99fac7816fd04cb036 /lib
parent5c5950fa4405f5206232cb551cd8f321e0fdb83c (diff)
prevent exceptions, fixes #5147
Closes #5147 Merge request studip/studip!4307
Diffstat (limited to 'lib')
-rw-r--r--lib/classes/cache/FileCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/cache/FileCache.php b/lib/classes/cache/FileCache.php
index 55b3667..7703902 100644
--- a/lib/classes/cache/FileCache.php
+++ b/lib/classes/cache/FileCache.php
@@ -46,7 +46,7 @@ class FileCache extends Cache
$this->dir = $path
?: (
Config::get()->SYSTEMCACHE['type'] === self::class
- ? Config::get()->SYSTEMCACHE['config']['path']
+ ? Config::get()->SYSTEMCACHE['config']['path'] ?? ''
: ''
)
?: $GLOBALS['CACHING_FILECACHE_PATH']