]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 16stable.
authorethem <ethem>
Thu, 27 Jul 2006 16:11:11 +0000 (16:11 +0000)
committerethem <ethem>
Thu, 27 Jul 2006 16:11:11 +0000 (16:11 +0000)
enrol/authorize/locallib.php

index cf7949c61736b02f82aeee320ff691f219d7e4fe..ce52e6b1cd03f932bf0263ccaa2d2e414cf8eff4 100644 (file)
@@ -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()) {