fixing php warning

This commit is contained in:
Antoine M 2024-01-18 15:48:40 +01:00
parent 74d50cc509
commit 72f504d5f4

View File

@ -28,7 +28,7 @@ $lastUpdate = get_the_modified_date('', $args['postID']);
<a class="cta cta--primary cta--button" href="<?php echo $args['ctaUrl'] ?>" target="<?php echo $args['ctaTarget'] ?? "_blank" ?>">
<?php
echo $args['ctaTitle'];
?><span class="sr-only"><?php echo $relatedBrochure['title'] ?></span> </a>
?><span class="sr-only"><?php echo $relatedBrochure['title'] ?? "" ?></span> </a>
<?php endif; ?>
<?php if ($args['hasInfoCapsule']) : ?>