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

Fix valeur vide pour ENSI

parent a0fedb42
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Service/Fichier/FichierService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -549,7 +549,7 @@ class FichierService extends BaseService
        $rapporteurs =  array_filter($acteurs, function($a) {return TheseController::estRapporteur($a); });
        $directeurs =  array_filter($acteurs, function($a) {return TheseController::estDirecteur($a); });
        $membres = array_diff($acteurs, $rapporteurs, $directeurs);
        $informations["ENSI"] = TheseController::estENSI($directeurs);
        $informations["ENSI"] = (TheseController::estENSI($directeurs))?"oui":"non";

        $informations["nombre de membres"] = count($membres)?count($membres):"";
        $informations["nombre de rapporteurs"] = count($rapporteurs)?count($rapporteurs):"";
+1 −1
Changes for module/Application/src/Application/Service/These/PageDeGarde/pagedecouverture.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ $PATH = Structure::PATH;
            <?php endif; ?>
        </td>
        <!-- TODO ENSI -->
        <?php if ($informations["ENSI"]): ?>
        <?php if ($informations["ENSI"] == "oui"): ?>
        <td>
            <img class="logo_small" src="public/logo_ensi.jpg"/>
        </td>