Skip to content

Commit

Permalink
Fix generation of css ids
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolineus committed Mar 20, 2024
1 parent c1bfdcf commit 94f28fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/Dca/ContentDcaListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function generateCssId(mixed $value, DataContainer|null $dataContainer):

/** @psalm-suppress RiskyTruthyFalsyComparison */
if (
$dataContainer?->activeRecord?->hofff_toc_include
! $dataContainer?->activeRecord?->hofff_toc_include
|| $value[0]
) {
return $value;
Expand Down

0 comments on commit 94f28fd

Please sign in to comment.