/trunk/jrest/bibliotheque/GestionChampsEtendus.php |
---|
139,7 → 139,7 |
$label_champs_etendus = new GestionChampsEtendus2($this->config); |
$lignes = array(); |
foreach ($champs_etendus as $champ_etendu) { |
$champ_id = $label_champs_etendus->consulter($champ_etendu->cle); |
$champ_id = $label_champs_etendus->consulter(trim($champ_etendu->cle, "[]")); |
if ($champ_id != false) { |
$id = Cel::db()->proteger($champ_etendu->id); |
$cle = Cel::db()->proteger($champ_id[0]['id']); |