Skip to content

Commit

Permalink
Merge pull request #6 from b13/davidsteeb-patch-1
Browse files Browse the repository at this point in the history
[TASK] Cast doktype to string for addTcaSelectItem()
  • Loading branch information
davidsteeb authored Jan 17, 2022
2 parents f27cbb5 + 6fd51ef commit 4d81c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
defined('TYPO3_MODE') or die('Access denied.');

(function () {
$dokType = 24;
$dokType = '24';
$newsType = ['LLL:EXT:newspage/Resources/Private/Language/locallang_be.xlf:news', $dokType];

// adding the new doktypes to the type select
Expand Down

0 comments on commit 4d81c97

Please sign in to comment.