Included missing global values needed in function
This commit is contained in:
parent
0bc2e186e6
commit
95688dd064
1 changed files with 2 additions and 0 deletions
2
lib.php
2
lib.php
|
@ -672,6 +672,8 @@ function customcert_get_number_of_issues($customcertid, $cm, $groupmode) {
|
||||||
* @return array the conditional variables
|
* @return array the conditional variables
|
||||||
*/
|
*/
|
||||||
function customcert_get_conditional_issues_sql($cm, $groupmode) {
|
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.
|
// Get all users that can manage this customcert to exclude them from the report.
|
||||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||||
$conditionssql = '';
|
$conditionssql = '';
|
||||||
|
|
Loading…
Reference in a new issue