Skip to content

Commit bb00e83

Browse files
fix: update file type handling in news model
1 parent 1780904 commit bb00e83

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Configuration/TCA/tx_ximatypo3internalnews_domain_model_news.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
*/
2121

22-
use TYPO3\CMS\Core\Resource\FileType;
2322
use Xima\XimaTypo3InternalNews\Configuration;
2423

2524
return [
@@ -108,7 +107,7 @@
108107
'allowed' => 'common-media-types',
109108
'overrideChildTca' => [
110109
'types' => [
111-
FileType::IMAGE->value => [
110+
'2' => [
112111
'showitem' => '
113112
--palette--;;imageoverlayPalette,
114113
--palette--;;filePalette',

0 commit comments

Comments
 (0)