mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-40410 remove ampersands required for PHP strict standards lib/tablelib.php
This commit is contained in:
parent
7c8c6aa76b
commit
1b17f2b0db
@ -797,7 +797,7 @@ class flexible_table {
|
||||
}
|
||||
return format_text($text, $format, $options);
|
||||
} else {
|
||||
$eci =& $this->export_class_instance();
|
||||
$eci = $this->export_class_instance();
|
||||
return $eci->format_text($text, $format, $options, $courseid);
|
||||
}
|
||||
}
|
||||
@ -1527,9 +1527,9 @@ class table_spreadsheet_export_format_parent extends table_default_export_format
|
||||
$filename = $filename.'.'.$this->fileextension;
|
||||
$this->define_workbook();
|
||||
// format types
|
||||
$this->formatnormal =& $this->workbook->add_format();
|
||||
$this->formatnormal = $this->workbook->add_format();
|
||||
$this->formatnormal->set_bold(0);
|
||||
$this->formatheaders =& $this->workbook->add_format();
|
||||
$this->formatheaders = $this->workbook->add_format();
|
||||
$this->formatheaders->set_bold(1);
|
||||
$this->formatheaders->set_align('center');
|
||||
// Sending HTTP headers
|
||||
|
Loading…
x
Reference in New Issue
Block a user