Skip to content

Commit

Permalink
[BUGFIX] Remove wrong displayCond
Browse files Browse the repository at this point in the history
The wrong displayCond for slug fields of sys_category and tags is removed.

Resolves: #1344
  • Loading branch information
georgringer committed Sep 25, 2020
1 parent 9f21abd commit 20e9866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/sys_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
'slug' =>[
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:pages.slug',
'displayCond' => 'USER:' . \TYPO3\CMS\Core\Compatibility\PseudoSiteTcaDisplayCondition::class . '->isInPseudoSite:pages:false',
'displayCond' => 'VERSION:IS:false',
'config' => [
'type' => 'slug',
'size' => 50,
Expand Down
2 changes: 1 addition & 1 deletion Configuration/TCA/tx_news_domain_model_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
'slug' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:pages.slug',
'displayCond' => 'USER:' . \TYPO3\CMS\Core\Compatibility\PseudoSiteTcaDisplayCondition::class . '->isInPseudoSite:pages:false',
'displayCond' => 'VERSION:IS:false',
'config' => [
'type' => 'slug',
'size' => 50,
Expand Down

0 comments on commit 20e9866

Please sign in to comment.