diff --git a/Controller/Component/ToolbarComponent.php b/Controller/Component/ToolbarComponent.php index 6e6d3807d..202bcccd6 100644 --- a/Controller/Component/ToolbarComponent.php +++ b/Controller/Component/ToolbarComponent.php @@ -338,7 +338,7 @@ protected function _makeViewClass($baseClassName) { if (!class_exists('DoppelGangerView')) { $plugin = false; if (strpos($baseClassName, '.') !== false) { - list($plugin, $baseClassName) = explode('.', $baseClassName); + list($plugin, $baseClassName) = pluginSplit($baseClassName, true); } if (strpos($baseClassName, 'View') === false) { $baseClassName .= 'View';