diff --git a/VERSIONS_HOTLINE/182273 b/VERSIONS_HOTLINE/182273 new file mode 100644 index 0000000000000000000000000000000000000000..87ba0315a4d1b938493a9d6fd807f598739eeea3 --- /dev/null +++ b/VERSIONS_HOTLINE/182273 @@ -0,0 +1 @@ + - correctif #182273 : Cosmogramme : Correction de l'affichage des intégrations programmées \ No newline at end of file diff --git a/cosmogramme/php/fonctions/objets_saisie.php b/cosmogramme/php/fonctions/objets_saisie.php index 7f79fe94651c01dbffbe52e0ed7055971fd9ee12..bec7aeeadc97386fd81c2d010cb55f762bdb07e1 100644 --- a/cosmogramme/php/fonctions/objets_saisie.php +++ b/cosmogramme/php/fonctions/objets_saisie.php @@ -104,7 +104,6 @@ function getBlocsParams($id_bib, $type, $valeurs) { $champs_params[0] = ['server_url', 'remote_library_id']; - if (in_array($clef, [Class_IntBib::COM_PMB, Class_IntBib::COM_VSMART, Class_IntBib::COM_MICROBIB, Class_IntBib::COM_BIBLIXNET, Class_IntBib::COM_WATERBEAR])) $champs_params[0] = ['url_serveur']; @@ -117,18 +116,17 @@ function getBlocsParams($id_bib, $type, $valeurs) { $champs_params[0] = ['url_serveur', 'key','sigb_field_name']; if (in_array($clef, [Class_IntBib::COM_ORPHEE])) - $champs_params[0] = ['url_serveur', - 'key', - ['identification_server_provider' => - fn( $id, $value) => return getOuiNon($id, $value); - ], - 'allow_hold_available_items', - ['hold_mode' => function($id, $valeur) { - return getComboSimple($id, - $valeur, - ['' => 'Au titre', - '1' => 'A l\'exemplaire']); - }]]; + $champs_params[0] = + ['url_serveur', + 'key', + ['identification_server_provider' => fn( $id, $value) => getOuiNon($id, $value)], + 'allow_hold_available_items', + ['hold_mode' => function($id, $valeur) { + return getComboSimple($id, + $valeur, + ['' => 'Au titre', + '1' => 'A l\'exemplaire']); + }]]; if ($clef == Class_IntBib::COM_KOHA) $champs_params[0] = ['url_serveur',