while ( ($nom = fgets ($f)) !== FALSE) {
$nom = trim ($nom);
$nom = trim ($nom, '"');
- $the_id = $base->notes_theme_update ($token, null, $nom, NULL);
+ $the_id = $base->notes_theme_update ($token, null, $nom, NULL, false);
$code = $base->pour_code ($nom);
$base->notes_notes_update ($token, null, $code, $nom, $the_id);
}
$themes = $base->notes_theme_liste_details($token, NULL);
if (is_array ($themes)) {
foreach ($themes as $theme) {
- $base->notes_theme_update ($token, $theme['the_id'], $theme['the_nom'], $por_ids);
+ $base->notes_theme_update ($token, $theme['the_id'], $theme['the_nom'], $por_ids, false);
}
}
$base->commit ();