diff --git a/main/work/work.php b/main/work/work.php index 07d7825118..86400ac23d 100644 --- a/main/work/work.php +++ b/main/work/work.php @@ -324,7 +324,7 @@ switch ($action) { // QualificationOfAssignment $form->addElement('text', 'qualification_value', get_lang('QualificationNumeric')); - if (Gradebook::is_active()) { + if ((api_get_session_id() != 0 && Gradebook::is_active()) || api_get_session_id() == 0) { $form->addElement('checkbox', 'make_calification', null, get_lang('MakeQualifiable'), array('id' =>'make_calification_id', 'onclick' => "javascript: if(this.checked){document.getElementById('option1').style.display='block';}else{document.getElementById('option1').style.display='none';}")); } else { // QualificationOfAssignment