diff --git a/Classes/Hooks/PluginRenderer.php b/Classes/Hooks/PluginRenderer.php index 1f3bf83513cccfa40b51764a695317b1ab0aa974..160789053978a0567d042ea849988b06bd634a18 100644 --- a/Classes/Hooks/PluginRenderer.php +++ b/Classes/Hooks/PluginRenderer.php @@ -94,7 +94,7 @@ class PluginRenderer implements PageLayoutViewDrawItemHookInterface { // Get contents of the FlexForm configuration file $xmlString = file_get_contents($xmlContent); - $arrayJobs = GeneralUtility::xml2array($xmlString); + $configurationArray = GeneralUtility::xml2array($xmlString); // Begin rendering of table $itemContent .= '<br>' . '<table class="table table-striped">'; @@ -113,10 +113,10 @@ class PluginRenderer implements PageLayoutViewDrawItemHookInterface { foreach ($pluginOptions['data']['sDEF']['lDEF'] as $key => $setting) { // if plugin option exists within the Flexform configuration file - if (array_key_exists($key, $arrayJobs['sheets']['sDEF']['ROOT']['el'])) { + if (array_key_exists($key, $configurationArray['sheets']['sDEF']['ROOT']['el'])) { // Display label - $labelId = $arrayJobs['sheets']['sDEF']['ROOT']['el'][$key]['TCEforms']['label']; + $labelId = $configurationArray['sheets']['sDEF']['ROOT']['el'][$key]['TCEforms']['label']; $itemContent .= '<row>' . '<td><strong>' . $translationServiceObject->translate( trim($labelId) ) . '</strong></td>';