Skip to content
Snippets Groups Projects
Commit 7c7fc4b3 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

adjust wording, fixes #4469

Closes #4469

Merge request studip/studip!3258
parent 7a40d1ad
No related branches found
No related tags found
No related merge requests found
......@@ -51,10 +51,10 @@ class Course_ContentmodulesController extends AuthenticatedController
$this->categories[] = $module['category'];
}
if (!$module['category']) {
if (!in_array(_('Sonstige'), $this->categories)) {
$this->categories[] = _('Sonstige');
if (!in_array(_('Sonstiges'), $this->categories)) {
$this->categories[] = _('Sonstiges');
}
$this->modules[$i]['category'] = _('Sonstige');
$this->modules[$i]['category'] = _('Sonstiges');
}
}
sort($this->categories);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment