diff --git a/course/grades.php b/course/grades.php index 8cd7eca81a3..4bb0697c81b 100644 --- a/course/grades.php +++ b/course/grades.php @@ -137,7 +137,7 @@ /// Creating a workbook $workbook = new Workbook("-"); - $myxls =& $workbook->add_worksheet('$strgrades'); + $myxls =& $workbook->add_worksheet($strgrades); /// Print names of all the fields