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

Cas vide ...

parent e34bd59a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ $nbElements = count($elements);
</div>


<?php $elementsInvalides = array_filter($elementsInvalides, function (HasEnqueteInterface $e) { return $e->getEnquete() !== null; }); ?>
<?php if (isset($elementsInvalides) and !empty($elementsInvalides)) $elementsInvalides = array_filter($elementsInvalides, function (HasEnqueteInterface $e) { return $e->getEnquete() !== null; }); ?>
<?php if (isset($elementsInvalides) and !empty($elementsInvalides)) : ?>
    <div class="alert alert-warning">
        <span class="icon icon-attention"></span>