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

fix make:plugin command, fixes #4743

Closes #4743

Merge request studip/studip!3541
parent 07dd571a
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ final class Plugin extends Command
\AdministrationPlugin::class,
\DetailspagePlugin::class,
\ExternPagePlugin::class,
\FileSystemPlugin::class,
\FilesystemPlugin::class,
\FileUploadHook::class,
\ForumModule::class,
\HomepagePlugin::class,
......@@ -369,6 +369,6 @@ final class Plugin extends Command
return [$controllers => ['index']];
}
return $controllers;
return $controllers ?: [];
}
}
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