Skip to content
Snippets Groups Projects
Commit 26c76ecc authored by Rasmus Fuhse's avatar Rasmus Fuhse Committed by Jan-Hendrik Willms
Browse files

Resolve "Adminbereich Plugins können eventuell keinen Aktionsbereich bereitstellen"

Closes #2840

Merge request studip/studip!1924
parent e1973b82
No related branches found
No related tags found
No related merge requests found
...@@ -725,8 +725,8 @@ class Admin_CoursesController extends AuthenticatedController ...@@ -725,8 +725,8 @@ class Admin_CoursesController extends AuthenticatedController
if ($GLOBALS['user']->cfg->MY_COURSES_ACTION_AREA === get_class($plugin)) { if ($GLOBALS['user']->cfg->MY_COURSES_ACTION_AREA === get_class($plugin)) {
$output = $plugin->getAdminCourseActionTemplate($course->getId()); $output = $plugin->getAdminCourseActionTemplate($course->getId());
$d['action'] = $output instanceof Flexi_Template ? $output->render() : (string) $output; $d['action'] = $output instanceof Flexi_Template ? $output->render() : (string) $output;
break;
} }
break;
} }
} }
$d['completion'] = $course->completion; $d['completion'] = $course->completion;
......
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