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