浏览代码

Fixed invalid table reference

Yannick Warnier 15 年之前
父节点
当前提交
8235dd77c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/inc/lib/events.lib.inc.php

+ 1 - 1
main/inc/lib/events.lib.inc.php

@@ -452,7 +452,7 @@ function create_event_exercice($exo_id)
 {
 	global $_user, $_cid, $_configuration;
 	$TABLETRACK_EXERCICES = Database::get_statistic_table(TABLE_STATISTIC_TRACK_E_EXERCICES);
-	$TBL_EXERCICES = Database::get_course_table(TABLE_QUIZ);
+	$TBL_EXERCICES = Database::get_course_table(TABLE_QUIZ_TEST);
 	$reallyNow = time();
 	if (isset($_user['user_id']) && $_user['user_id']!='') {
 		$user_id = "'".$_user['user_id']."'";