fixing php warning
This commit is contained in:
parent
74d50cc509
commit
72f504d5f4
|
|
@ -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" ?>">
|
<a class="cta cta--primary cta--button" href="<?php echo $args['ctaUrl'] ?>" target="<?php echo $args['ctaTarget'] ?? "_blank" ?>">
|
||||||
<?php
|
<?php
|
||||||
echo $args['ctaTitle'];
|
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 endif; ?>
|
||||||
|
|
||||||
<?php if ($args['hasInfoCapsule']) : ?>
|
<?php if ($args['hasInfoCapsule']) : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user