Merged from 16stable.

This commit is contained in:
ethem
2006-07-27 16:11:11 +00:00
parent 0e29ee3af7
commit 9dec3768bc
+2 -2
View 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()) {