MDL-40410 remove ampersands required for PHP strict standards lib/tablelib.php

This commit is contained in:
Gordon Bateson 2014-01-28 16:43:47 +09:00 committed by Sam Hemelryk
parent 7c8c6aa76b
commit 1b17f2b0db

View File

@ -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