浏览代码

[svn r11160] Added empty path to GetQuizName() call (prevent errors later on)

Yannick Warnier 18 年之前
父节点
当前提交
bd5bb44a23
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      main/tracking/userLog.php
  2. 1 1
      main/tracking/userlogCSV.php

+ 2 - 2
main/tracking/userLog.php

@@ -1,4 +1,4 @@
-<?php // $Id: userLog.php 11159 2007-02-20 01:06:22Z yannoo $
+<?php // $Id: userLog.php 11160 2007-02-20 01:07:55Z yannoo $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -350,7 +350,7 @@ function display_exercise_tracking_info($view, $user_id, $course_id)
 		{
 			for($i = 0; $i < sizeof($hpresults); $i++)
 			{
-				$title = GetQuizName($hpresults[$i][0]);
+				$title = GetQuizName($hpresults[$i][0],'');
 
 				if ($title == '')
 					$title = GetFileName($hpresults[$i][0]);

+ 1 - 1
main/tracking/userlogCSV.php

@@ -281,7 +281,7 @@ function display_exercise_tracking_info($view, $user_id, $course_id)
 		{
 			for($i = 0; $i < sizeof($hpresults); $i++)
 			{
-				$title = GetQuizName($hpresults[$i][0]);
+				$title = GetQuizName($hpresults[$i][0],'');
 
 				if ($title == '')
 					$title = GetFileName($hpresults[$i][0]);