Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Show site name at top when selecting courses.

  • Loading branch information...
commit d56eaba13217fb769c187f49bad153fee9170fb8 1 parent a8c20a1
ethem authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  enrol/authorize/locallib.php
2  enrol/authorize/locallib.php
@@ -49,7 +49,7 @@ function authorize_print_orders()
49 49 }
50 50 $sql .= "ORDER BY c.sortorder, c.fullname";
51 51 if ($popupcrs = get_records_sql_menu($sql)) {
52   - $popupcrs[$SITE->id] = $SITE->fullname;
  52 + $popupcrs = array($SITE->id => $SITE->fullname) + $popupcrs;
53 53 print_simple_box_start('center', '100%');
54 54 echo "$strs->status: ";
55 55 echo popup_form($baseurl.'&course='.$courseid.'&status=',$statusmenu,'statusmenu',$status,'','','',true);

0 comments on commit d56eaba

Please sign in to comment.
Something went wrong with that request. Please try again.