13.1.04 Evite une notice quand la capture Open Graph est indéfinie

This commit is contained in:
Fred Tempez 2024-02-02 17:47:01 +01:00
parent 748e6d0873
commit 6b3085ef27

View File

@ -28,7 +28,7 @@
</div>
<div class="row">
<div class="col10 textAlignCenter">
<?php if( $module::$imageOpenGraph['type']): ?>
<?php if( !empty($module::$imageOpenGraph['type']) ): ?>
<p>
<?php echo sprintf('%s : <span id="screenType">%s</span>', helper::translate('Format'), $module::$imageOpenGraph['type']); ?>
</p>