Skip to content
Snippets Groups Projects
Commit 7237532e authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] review

parent 4a6f716e
No related branches found
No related tags found
1 merge request!10Feature improved usability
......@@ -853,9 +853,8 @@ class MailTemplateService {
}
$templateDirectory .= '/';
$templatePath = ExtensionManagementUtility::extPath(
$storeTemplateExtension
) . self::DEFAULT_TEMPLATE_PATH . $templateDirectory;
$templatePath = ExtensionManagementUtility::extPath($storeTemplateExtension) . self::DEFAULT_TEMPLATE_PATH
. $templateDirectory;
if ($configArray['template_path']) {
$templatePath = $configArray[$templateKey];
......@@ -926,7 +925,7 @@ class MailTemplateService {
$allMarker .= $key . ': ' . $value . PHP_EOL;
} elseif (\is_array($value)) {
foreach ($value as $innerKey => $innerValue) {
$allMarker .= $key . ': ' . $innerValue . PHP_EOL;
$allMarker .= $innerKey . ': ' . $innerValue . PHP_EOL;
}
} elseif (\is_bool($value)) {
$valueAsString = $value ? 'true' : 'false';
......
......@@ -177,7 +177,7 @@ class FormEditorController extends \TYPO3\CMS\Form\Controller\FormEditorControll
foreach ($renderables as $element) {
$markerName = $element['identifier'];
// if markerName is explicitly set, override the registered identifier
if(isset($element['properties']['markerName']) && $element['properties']['markerName'] !== '') {
if (isset($element['properties']['markerName']) && $element['properties']['markerName'] !== '') {
$markerName = $element['properties']['markerName'];
}
......
{all_fields}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment