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

correctly display original name, fixes #4633

Closes #4633

Merge request studip/studip!3444
parent 82c7bf24
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,7 @@ class Course_ContentmodulesController extends AuthenticatedController
$this->module = PluginManager::getInstance()->getPluginById($module_id);
$this->metadata = $this->module->getMetadata();
$this->original_name = $this->metadata['diplayname'] ?? $this->module->getPluginName();
$this->original_name = $this->metadata['diplayname'] ?? $this->module->getMetadata()['displayname'];
PageLayout::setTitle(_('Werkzeug umbenennen'));
$this->tool = ToolActivation::find([$context->id, $module_id]);
......
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