Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show site name at top when selecting courses.

  • Loading branch information...
commit d56eaba13217fb769c187f49bad153fee9170fb8 1 parent a8c20a1
ethem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/authorize/locallib.php
2  enrol/authorize/locallib.php
View
@@ -49,7 +49,7 @@ function authorize_print_orders()
}
$sql .= "ORDER BY c.sortorder, c.fullname";
if ($popupcrs = get_records_sql_menu($sql)) {
- $popupcrs[$SITE->id] = $SITE->fullname;
+ $popupcrs = array($SITE->id => $SITE->fullname) + $popupcrs;
print_simple_box_start('center', '100%');
echo "$strs->status: ";
echo popup_form($baseurl.'&course='.$courseid.'&status=',$statusmenu,'statusmenu',$status,'','','',true);
Please sign in to comment.
Something went wrong with that request. Please try again.