Permalink
Browse files

Show site name at top when selecting courses.

  • Loading branch information...
1 parent a8c20a1 commit d56eaba13217fb769c187f49bad153fee9170fb8 ethem committed Nov 3, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/authorize/locallib.php
View
2 enrol/authorize/locallib.php
@@ -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);

0 comments on commit d56eaba

Please sign in to comment.