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

Ajout d'un isset plutôt que d'un test === null

parent 9a936ae1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ $this->headTitle($titrePage);
            </td>
            <?php foreach ($seances as $seance) : ?>
                <td class="reponse <?php if ($canPresenceModifier) echo "toggle"; ?>" id="<?php echo $seance->getId(); ?>_<?php echo $inscription->getId(); ?>">
                    <?php if ($presences[$seance->getId()][$inscription->getId()] && $presences[$seance->getId()][$inscription->getId()]->isPresent()) : ?>
                    <?php if (isset($presences[$seance->getId()][$inscription->getId()]) && $presences[$seance->getId()][$inscription->getId()]->isPresent()) : ?>
                        <span class="icon icon-yes" style="color:darkgreen;" title="Présent"></span>
                    <?php else : ?>
                        <span class="icon icon-no" style="color:darkred;" title="Non présent"></span>