From d52ff1a09b4d86bd6c8d50f5cbfb563f3928e252 Mon Sep 17 00:00:00 2001 From: Artem Andreev Date: Sat, 16 Feb 2013 11:11:43 +0400 Subject: [PATCH] Fixed bug while exporting attendance data --- export.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);