Commit 8f745d84 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout de garde pour éviter un warning en php 8.0

parent 43cf6ffb
Loading
Loading
Loading
Loading
Loading
+3 −1
Changes for view/unicaen-renderer/template/index.phtml: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -22,13 +22,15 @@ $canAfficher = $this->isAllowed(DocumenttemplatePrivileges::getResourceId(Docume
$canModifier = $this->isAllowed(DocumenttemplatePrivileges::getResourceId(DocumenttemplatePrivileges::DOCUMENTTEMPLATE_MODIFIER));
$canDetruire = $this->isAllowed(DocumenttemplatePrivileges::getResourceId(DocumenttemplatePrivileges::DOCUMENTTEMPLATE_SUPPRIMER));

$this->headTitle($title);
if (isset($title)) $this->headTitle($title);
?>

<div class="row">
    <div class="col-md-9">
        <h1 class="page-header">
            <?php if (isset($title)) : ?>
                <?= $title ?>
            <?php endif; ?>
        </h1>
    </div>
    <div class="col-md-3">