We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, just taking a quick look at this plugin for approval in the moodle.org plugins db - thanks for your patience with the review process!
it looks like you have hard-coded the mdl_ prefix in the sql here: https://github.com/christos312/get_user_cohorts/blob/master/externallib.php#L65
you should be using curly braces around the table names as not all sites will use mdl_ as the prefix.
for example: JOIN mdl_cohort_members AS hm should be: JOIN {cohort_members} AS hm
The text was updated successfully, but these errors were encountered:
d246207
No branches or pull requests
Hi, just taking a quick look at this plugin for approval in the moodle.org plugins db - thanks for your patience with the review process!
it looks like you have hard-coded the mdl_ prefix in the sql here:
https://github.com/christos312/get_user_cohorts/blob/master/externallib.php#L65
you should be using curly braces around the table names as not all sites will use mdl_ as the prefix.
for example:
JOIN mdl_cohort_members AS hm
should be:
JOIN {cohort_members} AS hm
The text was updated successfully, but these errors were encountered: