Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3348 → Rev 3349

/trunk/widget/modules/saisie2/Saisie2.php
188,7 → 188,7
foreach( $retour[$projet]['champs-supp'][$key]['fieldValues']['listValue'] as $list_key => $list_value_array ) {
$retour[$projet]['champs-supp'][$key]['fieldValues']['listValue'][$list_key][0] = $this->clean_string( $list_value_array[0] );
// Obtenir une liste de valeurs utilisables dans les attributs for id ou name par exemple
$retour[$projet]['champs-supp'][$key]['fieldValues']['cleanListValue'][] = 'val-' . preg_replace( '/[^A-Za-z0-9_\-]/', '', $this->remove_accents( $list_value ) );
$retour[$projet]['champs-supp'][$key]['fieldValues']['cleanListValue'][] = 'val-' . preg_replace( '/[^A-Za-z0-9_\-]/', '', $this->remove_accents( $list_value_array[0] ) );
$retour[$projet]['champs-supp'][$key]['fieldValues']['listValue'][$list_key][1] = $this->clean_string( $list_value_array[1] );
}
}