Commit 5e7f91a6 authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

fix #106 where we could add an activity in stance of deletion to the matrix

parent d42de8a1
......@@ -194,8 +194,7 @@
foreach ($modules as $key => $module) {
if($module->section == $section->id && $module->completion!=0){
if($module->section == $section->id && $module->completion!=0 && $module->deletioninprogress==0){
if(in_array($key, array_column($matrix_modules, 'cmid'))){
Supports Markdown
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