-
Improvement
-
Resolution: Fixed
-
Minor
-
2.2
-
Any
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
MDL28588
-
In mod/scorm/report/basic/report.php
SQL IN statements are used as mentioned below:-
$where = ' WHERE u.id IN (' .$allowedlist. ') AND st.userid IS NOT NULL';
$where = ' WHERE u.id IN (' .$allowedlist. ') AND st.userid IS NULL';
$where = ' WHERE u.id IN (' .$allowedlist. ') AND (st.userid IS NOT NULL OR st.userid IS NULL)';
as per new moodle standards no sql statements should use IN directly in this way
Reference: http://docs.moodle.org/dev/DB_layer_2.0_migration_docs#The_golden_changes (G7)
- is blocked by
-
MDL-28282 Regression: groups/grouping support in SCORM 2.0 not working
-
- Closed
-