mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-37171 fix some more E_STRICT issues
Credit goes to Mark Nelson, thanks.
This commit is contained in:
parent
75427a824c
commit
cdd651a676
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user