Open danmarsden opened 6 months ago
please use placeholders and do not take user input and put it directly into the sql query eg: https://github.com/BM373/moodle-mod_videoassessment/blob/main/rubric/duplicate.php#L80
More information see here: https://moodledev.io/docs/apis/core/dml
you might need the helper function for get_in_or_equal in that call which is documented here: https://moodledev.io/docs/apis/core/dml#get_in_or_equal
please use placeholders and do not take user input and put it directly into the sql query eg: https://github.com/BM373/moodle-mod_videoassessment/blob/main/rubric/duplicate.php#L80
More information see here: https://moodledev.io/docs/apis/core/dml
you might need the helper function for get_in_or_equal in that call which is documented here: https://moodledev.io/docs/apis/core/dml#get_in_or_equal