From ce3d374e7775b994f903d35f89e15244aeaf795f Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 18 Sep 2015 13:57:07 -0500 Subject: [PATCH] Fix fatal error for php version - refs BT#10291 --- main/tracking/exams.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/tracking/exams.php b/main/tracking/exams.php index 910fe3cdee..84f84238ea 100755 --- a/main/tracking/exams.php +++ b/main/tracking/exams.php @@ -91,7 +91,9 @@ if (!$exportToXLS) { $courseLink = ''; - if (!empty(api_get_course_info())) { + $courseInfo = api_get_course_info(); + + if (!empty($courseInfo)) { $courseLink = api_get_cidreq(); }