diff --git a/Services/Style/Content/classes/class.ilObjStyleSheetGUI.php b/Services/Style/Content/classes/class.ilObjStyleSheetGUI.php index d8957c3ab9a5..beba8ed23a55 100755 --- a/Services/Style/Content/classes/class.ilObjStyleSheetGUI.php +++ b/Services/Style/Content/classes/class.ilObjStyleSheetGUI.php @@ -1525,7 +1525,7 @@ public function deleteTemplateConfirmationObject(): void $cl_str = '
' . "
" . $lng->txt("sty_style_class") . "
" . $cl_str . "
"; } - $cgui->addItem("tid[]", $tid, $this->object->lookupTemplateName($tid) . $cl_str); + $cgui->addItem("tid[]", (string) $tid, $this->object->lookupTemplateName($tid) . $cl_str); } $cgui->addButton($lng->txt("sty_del_template_keep_classes"), "deleteTemplateKeepClasses");