General developer forum

Change In activity completion not saved

 
Picture of A. Obeid
Re: Change In activity completion not saved
Particularly helpful Moodlers

Solved.


It was this function in mod_form.php

 public function definition_after_data() {
if ($this->current->instance) {
return;
}
parent::definition_after_data();
}

I remove it, everything works as expected.
 
Average of ratings: -