Skip to content

Commit

Permalink
[BUGFIX] Vendor name not considered in Form when set in ControllerCon…
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Oct 10, 2015
1 parent 9355544 commit a00e81b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/ViewHelpers/AbstractFormViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ protected static function getExtensionNameFromRenderingContextOrArguments(
}
$controllerContext = $renderingContext->getControllerContext();
if (NULL !== $controllerContext) {
return $controllerContext->getRequest()->getControllerExtensionName();
$controllerExtensionName = $controllerContext->getRequest()->getControllerExtensionName();
$controllerVendorName = $controllerContext->getRequest()->getControllerVendorName();
return (FALSE === empty($controllerVendorName) ? $controllerVendorName . '.' : '') . $controllerExtensionName;
}
return 'FluidTYPO3.Flux';
}
Expand Down

0 comments on commit a00e81b

Please sign in to comment.