1.4.18 Evite une notice si la capture OpenGraph est indéfinie

This commit is contained in:
Fred Tempez 2024-02-02 17:48:27 +01:00
parent e2316dc129
commit f6019714b9
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class common
const ACCESS_TIMER = 1800;
// Numéro de version
const ZWII_VERSION = '1.4.17';
const ZWII_VERSION = '1.4.18';
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';

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>