Gitlab CSE Unil

Commit 755b1931 authored by M. Chardon's avatar M. Chardon
Browse files

pb comment avec guillemet

parent 8827c726
......@@ -979,8 +979,8 @@ class audioannotation_assignement {
$tagsRendu[] = clone $tag;
}
$renduO = new assignement_part($rendu);
$renduO->comment = str_replace('"', '"', $renduO->comment);
$renduO->name = str_replace('"', '"', $renduO->name);
$renduO->comment = ""; //no need
$renduO->name = ""; //no need
$files = $fs->get_area_files($this->context->id, AUDIOANNOT_MODNAME_COMPLETE, $this::ATTACHMENT, $rendu->id);
foreach ($files as $file) {
if ($file->get_filesize() == 0) {
......
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