Skip to content
Snippets Groups Projects
Commit f12d3504 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Elmar Ludwig
Browse files

fix export widget, fixes #2370

Closes #2370

Merge request studip/studip!1556
parent 9b088733
No related branches found
No related tags found
No related merge requests found
...@@ -590,7 +590,8 @@ class Institute_MembersController extends AuthenticatedController ...@@ -590,7 +590,8 @@ class Institute_MembersController extends AuthenticatedController
$sidebar->addWidget($widget); $sidebar->addWidget($widget);
if (Config::get()->EXPORT_ENABLE && $GLOBALS['perm']->have_perm('tutor')) { if (Config::get()->EXPORT_ENABLE && $GLOBALS['perm']->have_perm('tutor')) {
$widget = new ExportWidget(); $widget = new SidebarWidget();
$widget->setTitle(_('Export'));
$widget->addElement(new WidgetElement(export_form_sidebar($this->institute->id, $widget->addElement(new WidgetElement(export_form_sidebar($this->institute->id,
'person', $this->institute->Name))); 'person', $this->institute->Name)));
$sidebar->addWidget($widget); $sidebar->addWidget($widget);
......
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