From 95688dd0648c8c27a7cc08616f7e318c7f968761 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Fri, 12 Apr 2013 16:30:56 +0800 Subject: [PATCH] Included missing global values needed in function --- lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.php b/lib.php index 9df5854..f77027b 100644 --- a/lib.php +++ b/lib.php @@ -672,6 +672,8 @@ function customcert_get_number_of_issues($customcertid, $cm, $groupmode) { * @return array the conditional variables */ function customcert_get_conditional_issues_sql($cm, $groupmode) { + global $CFG, $DB; + // Get all users that can manage this customcert to exclude them from the report. $context = get_context_instance(CONTEXT_MODULE, $cm->id); $conditionssql = '';