Skip to content

Commit

Permalink
42267: Matrix-question - ILIAS adds always a neutral column
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Nov 1, 2024
1 parent 93b5244 commit cc63dd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function importEditFormValues(ilPropertyFormGUI $a_form): void
$this->object->getColumns()->addCategory($value, $columns['other'][$key] ?? 0, 0, null, $columns['scale'][$key]);
}
}
if (isset($columns["neutral"][0]) && is_string($columns["neutral"][0])) {
if (isset($columns["neutral"][0]) && trim($columns["neutral"][0]) !== "") {
$this->object->getColumns()->addCategory(
$columns['neutral'][0],
0,
Expand Down
2 changes: 1 addition & 1 deletion lang/ilias_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -17662,4 +17662,4 @@ wsp#:#wsp_type_ltiv#:#Zertifikat: LTI-Konsument
wsp#:#wsp_type_scov#:#Zertifikat: SCORM
wsp#:#wsp_type_tstv#:#Zertifikat: Test
wsp#:#wsp_type_webr#:#Weblink
wsp#:#wsp_type_wfld#:#Ordner
wsp#:#wsp_type_wfld#:#Ordner

0 comments on commit cc63dd1

Please sign in to comment.