From d3fdafc3585cc6a50cef27fcc0b33ec9d6604fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Wed, 19 Dec 2012 09:54:53 +0100 Subject: [PATCH] MDL-37171 fix some more E_STRICT issues Credit goes to Mark Nelson, thanks. --- mod/survey/download.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/survey/download.php b/mod/survey/download.php index 276c7ef3885..e9f8eb648eb 100644 --- a/mod/survey/download.php +++ b/mod/survey/download.php @@ -159,7 +159,7 @@ if ($type == "ods") { /// Sending HTTP headers $workbook->send($downloadfilename); /// Creating the first worksheet - $myxls =& $workbook->add_worksheet(textlib::substr(strip_tags(format_string($survey->name,true)), 0, 31)); + $myxls = $workbook->add_worksheet(textlib::substr(strip_tags(format_string($survey->name,true)), 0, 31)); $header = array("surveyid","surveyname","userid","firstname","lastname","email","idnumber","time", "notes"); $col=0; @@ -234,7 +234,7 @@ if ($type == "xls") { /// Sending HTTP headers $workbook->send($downloadfilename); /// Creating the first worksheet - $myxls =& $workbook->add_worksheet(textlib::substr(strip_tags(format_string($survey->name,true)), 0, 31)); + $myxls = $workbook->add_worksheet(textlib::substr(strip_tags(format_string($survey->name,true)), 0, 31)); $header = array("surveyid","surveyname","userid","firstname","lastname","email","idnumber","time", "notes"); $col=0;