-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.4
-
None
-
None
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
When trying to create a session within a Face to Face activity, I get an error prompt because function is expecting $params and they arenot defines in /mod/facetoface/lib.php.
Notice: Undefined variable: params in [wwwroot]/mod/facetoface/lib.php on line 3619
Lines 3609-3619:
// Load role names
$rolenames = $DB->get_records_sql("
SELECT
r.id,
r.name
FROM
r
WHERE
r.id {$rolesql}
AND r.id <> 0
", $params);