diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index d1c3c84dd2..41ea6c1c38 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -6646,7 +6646,11 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') $return .= 'Edit the current item '.get_lang("Edit").''; $return .= 'Move the current item '.get_lang("Move").''; - $return .= ''.get_lang('Prerequisites').' '.get_lang('Prerequisites').''; + // commented for now as prerequisites cannot be added to chapters + if($item_type != 'dokeos_chapter' && $item_type != 'chapter') + { + $return .= ''.get_lang('Prerequisites').' '.get_lang('Prerequisites').''; + } $return .= 'Delete the current item '.get_lang("Delete").''; //$return .= '

' . ((trim($s_description) == '') ? ''.get_lang("NoDescription").'' : stripslashes(nl2br($s_description))) . '

';