Gitlab CSE Unil

Commit 8353e3d3 authored by M. Chardon's avatar M. Chardon
Browse files

correction bug plus de tag à la création

parent 331c0f75
......@@ -84,13 +84,13 @@ function audioannotation_add_instance(stdClass $audioannotation, mod_audioannota
$audioannotation->id = $DB->insert_record(AUDIOANNOT_MODNAME, $audioannotation);
//enregistrement des tags
if ($audioannotation->tagids) {
/*if ($audioannotation->tagids) {
foreach ($audioannotation->tagids as $tagtmp) {
if (isset($tagtmp) && strlen($tagtmp) > 0) {
editor::addCategory($audioannotation, $tagtmp);
}
}
}
}*/
//enregistrement des fichiers annexes
$formData = $mform->get_data();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment