commit 1fde6c8796997e3ef842bf266af90799aed04e30
parent 1a397fc526c1da2bdf700925024591ccaa3ace52
Author: Jan Dankert <develop@jandankert.de>
Date: Wed, 7 Oct 2020 23:28:20 +0200
Fix: Langauge keys must not contain the '-'.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/cms/action/ElementAction.class.php b/modules/cms/action/ElementAction.class.php
@@ -240,7 +240,7 @@ class ElementAction extends BaseAction
'id',
'name',
'description',
- 'mime-type',
+ 'mime_type',
'lastch_user_username',
'lastch_user_fullname',
'lastch_user_mail',
diff --git a/modules/cms/generator/ValueGenerator.class.php b/modules/cms/generator/ValueGenerator.class.php
@@ -495,7 +495,7 @@ class ValueGenerator extends BaseGenerator
}
break;
- case 'mime-type':
+ case 'mime_type':
if ( $linkedObject->isFile || $linkedObject->isImage || $linkedObject->isText )
{
$f = new File( $objectid );