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

[TASK] Version 4.6.1

parent bf902ee6
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ namespace SGalinski\SgMail\XClass\Form; ...@@ -27,6 +27,7 @@ namespace SGalinski\SgMail\XClass\Form;
use SGalinski\SgMail\Service\MailTemplateService; use SGalinski\SgMail\Service\MailTemplateService;
use SGalinski\SgMail\Service\TypoScriptSettingsService; use SGalinski\SgMail\Service\TypoScriptSettingsService;
use Symfony\Component\Yaml\Yaml;
use TYPO3\CMS\Core\Cache\CacheManager; use TYPO3\CMS\Core\Cache\CacheManager;
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
...@@ -109,7 +110,7 @@ class FormEditorController extends \TYPO3\CMS\Form\Controller\FormEditorControll ...@@ -109,7 +110,7 @@ class FormEditorController extends \TYPO3\CMS\Form\Controller\FormEditorControll
// parse yaml for form fields // parse yaml for form fields
$absoluteFilePath = GeneralUtility::getFileAbsFileName($formPersistenceIdentifier); $absoluteFilePath = GeneralUtility::getFileAbsFileName($formPersistenceIdentifier);
$parsedYaml = \yaml_parse_file($absoluteFilePath); $parsedYaml = Yaml::parse(file_get_contents($absoluteFilePath));
$renderables = []; $renderables = [];
foreach ($parsedYaml['renderables'] as $formPage) { foreach ($parsedYaml['renderables'] as $formPage) {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"license": [ "license": [
"GPL-2.0-or-later" "GPL-2.0-or-later"
], ],
"version": "4.6.0", "version": "4.6.1",
"repositories": [ "repositories": [
{ {
"type": "composer", "type": "composer",
......
...@@ -8,7 +8,7 @@ $EM_CONF['sg_mail'] = array ( ...@@ -8,7 +8,7 @@ $EM_CONF['sg_mail'] = array (
'title' => 'Mail Templates', 'title' => 'Mail Templates',
'description' => 'Mail Templates', 'description' => 'Mail Templates',
'category' => 'module', 'category' => 'module',
'version' => '4.6.0', 'version' => '4.6.1',
'state' => 'stable', 'state' => 'stable',
'uploadfolder' => false, 'uploadfolder' => false,
'createDirs' => '', 'createDirs' => '',
......
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