Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged from 16stable.

  • Loading branch information...
commit 9dec3768bcdfe8f7380bdb9feed5edc3ff6f6838 1 parent 0e29ee3
ethem authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 enrol/authorize/locallib.php
View
4 enrol/authorize/locallib.php
@@ -101,10 +101,10 @@ function authorize_print_orders()
}
if ($userid > 0) {
- $where .= "AND (userid = '" . $userid . "') ";
+ $where .= "AND (E.userid = '" . $userid . "') ";
}
if ($courseid != SITEID) {
- $where .= "AND (courseid = '" . $courseid . "') ";
+ $where .= "AND (E.courseid = '" . $courseid . "') ";
}
if ($sort = $table->get_sql_sort()) {
Please sign in to comment.
Something went wrong with that request. Please try again.