Skip to content
Extraits de code Groupes Projets
Valider 671b2546 rédigé par cerdic's avatar cerdic
Parcourir les fichiers

nettoyer le nom avant utilisation dans git

parent 2341c0fb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -290,7 +290,12 @@ function salvatore_exporter_module($id_tradlang_module, $source, $url_site, $url
if ($auteur and $auteur['email']){
$commit_infos[$lang]['author'] = $auteur['email'];
if ($auteur['nom']){
$commit_infos[$lang]['author'] = $auteur['nom'] . " <" . $commit_infos[$lang]['author'] . ">";
$nom = $auteur['nom'];
if (strpos($nom,"<") !== false) {
$nom = extraire_multi($nom);
$nom = textebrut($nom);
}
$commit_infos[$lang]['author'] = $nom . " <" . $commit_infos[$lang]['author'] . ">";
}
salvatore_log("Le commiteur pour la langue $lang : " . $commit_infos[$lang]['author']);
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter