mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 05:58:46 +02:00
Add FormFactoryBuilderService to Service Locator
This commit is contained in:
@@ -36,7 +36,7 @@ class FormsController extends Controller
|
||||
|
||||
// Get the form block from the service (and the compiler)
|
||||
$oFormBlock = $this->oFormBlockService->GetFormBlockById($sDashletClass, 'Dashlet');
|
||||
$oBuilder = $this->GetFormBuilder($oFormBlock, []);
|
||||
$oBuilder = $this->oFormFactoryBuilderService->GetFormBuilder($oFormBlock, []);
|
||||
$oForm = $oBuilder->getForm();
|
||||
$oForm->handleRequest($oRequest);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user