Skip to content

Commit

Permalink
Merge pull request #3 from pgampe/patch-1
Browse files Browse the repository at this point in the history
Add missing trim to FlexFormTabsContainer
  • Loading branch information
bmack authored Jul 26, 2016
2 parents e7892ba + 2444f98 commit c23d635
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Form/Container/FlexFormTabsContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ public function render()
$childReturn = $this->nodeFactory->create($options)->render();

$tabElements[] = array(
'label' => !empty($sheetDataStructure['ROOT']['sheetTitle']) ? $languageService->sL($sheetDataStructure['ROOT']['sheetTitle']) : $sheetName,
'label' => !empty($sheetDataStructure['ROOT']['sheetTitle']) ? $languageService->sL(trim($sheetDataStructure['ROOT']['sheetTitle'])) : $sheetName,
'content' => $childReturn['html'],
'description' => $sheetDataStructure['ROOT']['sheetDescription'] ? $languageService->sL($sheetDataStructure['ROOT']['sheetDescription']) : '',
'linkTitle' => $sheetDataStructure['ROOT']['sheetShortDescr'] ? $languageService->sL($sheetDataStructure['ROOT']['sheetShortDescr']) : '',
'description' => $sheetDataStructure['ROOT']['sheetDescription'] ? $languageService->sL(trim($sheetDataStructure['ROOT']['sheetDescription'])) : '',
'linkTitle' => $sheetDataStructure['ROOT']['sheetShortDescr'] ? $languageService->sL(trim($sheetDataStructure['ROOT']['sheetShortDescr'])) : '',
);

$childReturn['html'] = '';
Expand Down

0 comments on commit c23d635

Please sign in to comment.