Included missing global values needed in function

This commit is contained in:
Mark Nelson 2013-04-12 16:30:56 +08:00
parent 0bc2e186e6
commit 95688dd064

View file

@ -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 = '';