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 1ab501974f21e3e004db784353fd9a94a154203c 1 parent 87753e7
ethem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/authorize/locallib.php
View
2  enrol/authorize/locallib.php
@@ -54,7 +54,7 @@ function authorize_print_orders($courseid, $userid)
}
$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;
echo "<table border='0' width='100%' cellspacing=0 cellpadding=3 class='generaltable generalbox'>";
echo "<tr>";
echo "<td width='5%'>$strs->status: </td><td width='10%'>";popup_form($baseurl.'&amp;course='.$courseid.'&amp;status=',$statusmenu,'statusmenu',$status,'','','',false);echo"</td>\n";
Please sign in to comment.
Something went wrong with that request. Please try again.