Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3886 → Rev 3887

/trunk/jrest/bibliotheque/GestionChampsEtendus2.php
141,7 → 141,7
foreach ($champs_etendus['ce'] as $num_champ => $champ_etendu) {
$modif_ce = "UPDATE {$this->table_champs_etendus} ce join {$this->table_champs_etendus_trad} cet";
$modif_ce .= " on field_id = `extended_field_id` and ce.`project` = cet.`project` and ".
"`language_iso_code` = { $langue } ";
"`language_iso_code` = ".Cel::db()->proteger($langue)." ";
// pour chaque valeur de la table extended_field
foreach ($champs_etendus['ce'][0] as $num_colonne => $colonne) {
$modif_ce .= "ce.".$num_colonne." = ".Cel::db()->proteger($champ_etendu[$num_colonne]).", ";