Skip to content
Snippets Groups Projects
Commit cd956de6 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

update label, fixes #3210

Closes #3210

Merge request studip/studip!2177
parent 90995e61
No related branches found
No related tags found
No related merge requests found
...@@ -72,11 +72,7 @@ class InstituteSelectWidget extends SelectWidget ...@@ -72,11 +72,7 @@ class InstituteSelectWidget extends SelectWidget
if ($this->include_all_option) { if ($this->include_all_option) {
$element = new SelectElement( $element = new SelectElement(
'all', 'all',
( _('Alle'),
$GLOBALS['perm']->have_perm('root')
? _('Alle')
: _('Alle meine Einrichtungen')
),
in_array('all', $this->selected_element_ids) in_array('all', $this->selected_element_ids)
); );
$element->setAsHeader(true); $element->setAsHeader(true);
......
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