From 9dec3768bcdfe8f7380bdb9feed5edc3ff6f6838 Mon Sep 17 00:00:00 2001 From: ethem Date: Thu, 27 Jul 2006 16:11:11 +0000 Subject: [PATCH] Merged from 16stable. --- enrol/authorize/locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index cf7949c617..ce52e6b1cd 100644 --- a/enrol/authorize/locallib.php +++ b/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()) { -- 2.39.5