소스 검색

[svn r12965] Now using an additional parameter in the call to learnpath::start_current_item() to trigger a possibly new attempt (this is the only code authorized to do this)

Yannick Warnier 17 년 전
부모
커밋
1af3cfc52f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/newscorm/lp_comm.server.php

+ 1 - 1
main/newscorm/lp_comm.server.php

@@ -236,7 +236,7 @@ function switch_item_details($lp_id,$user_id,$view_id,$current_item,$next_item)
 			if($debug>1){error_log('In {default} - next item is '.$new_item_id.'(current: '.$current_item.')',0);}
 			break;
 	}
-	$mylp->start_current_item();
+	$mylp->start_current_item(true);
 	if($mylp->force_commit){
 		$mylp->save_current();
 	}