aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/I18N.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2022-09-28 09:50:22 +0000
committerMoritz Strohm <strohm@data-quest.de>2022-09-28 09:50:22 +0000
commit48960208784586e8ad9bde75626dc4e631e18711 (patch)
treee9248937013bfbb9432816d899dd2f46ca7cc620 /lib/classes/I18N.php
parent408bdb87a4eca0e4ac2b6eb85f6271e2c8c27b42 (diff)
fix for BIESt #1016
Merge request studip/studip!625
Diffstat (limited to 'lib/classes/I18N.php')
-rw-r--r--lib/classes/I18N.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/I18N.php b/lib/classes/I18N.php
index 5ba2c88..e6f7c00 100644
--- a/lib/classes/I18N.php
+++ b/lib/classes/I18N.php
@@ -125,7 +125,7 @@ class I18N
return $template->render([
'languages' => $GLOBALS['CONTENT_LANGUAGES'],
'base_lang' => key($GLOBALS['CONTENT_LANGUAGES']),
- 'wysiwyg' => in_array('wysiwyg', words($attributes['class'])),
+ 'wysiwyg' => in_array('wysiwyg', words($attributes['class'] ?? '')),
'name' => $this->name,
'value' => $this->value,
'attributes' => $attributes,