Ver Fonte

[svn r12254] when item_type is student_publication, we export it as non_exportable.html too

Eric Marguin há 18 anos atrás
pai
commit
d46590378b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      main/newscorm/learnpath.class.php

+ 1 - 1
main/newscorm/learnpath.class.php

@@ -6711,7 +6711,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '')
 	 	$link_updates = array();
 	 	foreach($this->items as $index => $item){
 	 		
-	 		if(!in_array($item->type , array(TOOL_QUIZ, TOOL_FORUM, TOOL_THREAD, TOOL_LINK)))
+	 		if(!in_array($item->type , array(TOOL_QUIZ, TOOL_FORUM, TOOL_THREAD, TOOL_LINK, TOOL_STUDENTPUBLICATION)))
 	 		{
 		 		//get included documents from this item
 		 		if($item->type=='sco')