Skip to content

Commit

Permalink
[TASK] remove deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaystrobach authored Oct 10, 2022
1 parent 6224e06 commit faa40d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Utilities/TsParserUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ protected function setConstants($pid, $constants, $isSetConstants = [])
// Set the data to be saved
$saveId = $this->tsParserTplRow['uid'];
$recData = [];
$recData['sys_template'][$saveId]['constants'] = implode($this->tsParser->raw, chr(10));
$recData['sys_template'][$saveId]['constants'] = implode(chr(10), $this->tsParser->raw);
// Create new tce-object
/**
* @var \TYPO3\CMS\Core\DataHandling\DataHandler
*/
$tce = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\DataHandling\\DataHandler');
$tce = GeneralUtility::makeInstance(\TYPO3\CMS\Core\DataHandling\DataHandler::class);
$tce->stripslashes_values = 0;

/*
Expand Down

0 comments on commit faa40d2

Please sign in to comment.