Skip to content

Commit

Permalink
fix ecs
Browse files Browse the repository at this point in the history
  • Loading branch information
seibtph committed Nov 5, 2024
1 parent e95ce8f commit 985fcf8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TimelineElementListeners
#[AsCallback('tl_content', 'fields.multiSRC.load')]
public function setMultiSRCFlags(mixed $varValue, DataContainer $dc): mixed
{
if ($dc->activeRecord && $dc->activeRecord->type === 'timelineSliderElement') {
if ($dc->activeRecord && 'timelineSliderElement' === $dc->activeRecord->type) {
$GLOBALS['TL_DCA'][$dc->table]['fields'][$dc->field]['eval']['isGallery'] = true;
}
return $varValue;
Expand Down

0 comments on commit 985fcf8

Please sign in to comment.