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

Fix pour nom usuel et patr

parent b702f99c
Loading
Loading
Loading
Loading
Loading
+5 −1
Changes for module/Application/src/Application/Filter/NomCompletFormatter.php: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -131,7 +131,11 @@ class NomCompletFormatter extends AbstractFilter
        if (! $this->patroPlutotQueUsuel) {
            if ($this->avecNomPatro && $nomPatro !== $nomUsuel) {
                if ($this->court) {
                    $result .= "-$nomPatro";
                    $result = "";
                    if ($this->avecCivilite) $result .= "$civilite";
                    if ($this->prenomDabord) $result .= " $prenom";
                    $result .= " $nomPatro-$nomUsuel";
                    if (!$this->prenomDabord) $result .= " $prenom";
                } else {
                    $result .= ", née $nomPatro";
                }