Skip to content
Snippets Groups Projects
Commit 849173a6 authored by efalcy's avatar efalcy
Browse files

rollback pour modif cosmogramme (pas assez testé): 75fcc188 * Blindage de...

rollback pour modif cosmogramme (pas assez testé):	75fcc188 * Blindage de cosmogramme pour qu'il ne fasse pas des imports totaux lorsque le type de fichier est vide
parent af443431
Branches
Tags
No related merge requests found
......@@ -176,8 +176,9 @@ while ($ligne = $sql->fetchNext($resultat))
$type_fichier = $sql->fetchOne("select type_fichier from profil_donnees where id_profil=$profil");
// Si autre que notices on passe
if (!$type_fichier || $type_fichier=='') $log->ecrire('<span class="bib">Problème de configuration, pas de type de fichier pour le profil de données: '.$profil.' concernant le fichier: '.$fichier.'</span><br>');
if ($type_fichier =='' || ($type_fichier > 0 and $type_fichier < 10)) continue;
// if (!$type_fichier || $type_fichier=='') $log->ecrire('<span class="bib">Problème de configuration, pas de type de fichier pour le profil de données: '.$profil.' concernant le fichier: '.$fichier.'</span><br>');
// if ($type_fichier =='' || ($type_fichier > 0 and $type_fichier < 10)) continue;
if ($type_fichier > 0 and $type_fichier < 10) continue;
$nom_bib = $bib->getNomCourt($id_bib);
$libelle_type_operation = getLibCodifVariable("import_type_operation", $type_operation);
$trace = '<br><b><span class="vert">' . $nom_bib . " (" . $libelle_type_operation . ")</b></span><br>";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment