diff --git a/export.php b/export.php index 0d47952..8f85436 100644 --- a/export.php +++ b/export.php @@ -160,9 +160,9 @@ function ExportToTableEd($data, $filename, $format) { /// Sending HTTP headers $workbook->send($filename); /// Creating the first worksheet - $myxls =& $workbook->add_worksheet('Attendances'); + $myxls = $workbook->add_worksheet('Attendances'); /// format types - $formatbc =& $workbook->add_format(); + $formatbc = $workbook->add_format(); $formatbc->set_bold(1); $myxls->write(0, 0, get_string('course'), $formatbc);