Skip to content

Commit

Permalink
[BUGFIX] Avoid TCA error when EXT:news is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfred committed Oct 27, 2022
1 parent 9406721 commit 1625012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration/TCA/Overrides/500_cropping.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
/***************
* News
*/
//if (is_array($GLOBALS['TCA']['tx_news_domain_model_news']['columns']['fal_media'] ?? false)) {
if (is_array($GLOBALS['TCA']['tx_news_domain_model_news']['columns']['fal_media'] ?? false)) {
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['fal_media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings;
//}
}

/***************
* Pages
Expand Down

0 comments on commit 1625012

Please sign in to comment.