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

skala
Yannick Warnier 19 years ago
parent 7f2c907fc7
commit bd5bb44a23
  1. 4
      main/tracking/userLog.php
  2. 2
      main/tracking/userlogCSV.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]);

@ -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]);

Loading…
Cancel
Save