Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3884 → Rev 3885

/trunk/jrest/bibliotheque/GestionChampsEtendus2.php
148,8 → 148,9
}
// pour chaque valeur de la table extended_field_traduction
foreach ($champs_etendus['cet'][0] as $num_colonne_t => $colonne_t) {
$modif_ce .= "cet.".$num_colonne_t." = ".Cel::db()->proteger($champs_etendus[$cet][$num_champ][$num_colonne_t]);
$modif_ce .= "cet.".$num_colonne_t." = ".Cel::db()->proteger($champs_etendus[$cet][$num_champ][$num_colonne_t]).", ";
}
$modif_ce = rtrim($modif_ce, ", ");
$modif_ce .= " WHERE ce.{$this->champ_id} = ".Cel::db()->proteger($champ_etendu['field_id']);
$modif_ce .= " AND project = ".Cel::db()->proteger($champ_etendu['project']).";";
$modif = Cel::db()->executer($modif_ce);