Permalink
Browse files

MDL-40410 remove ampersands required for PHP strict standards lib/tab…

…lelib.php
  • Loading branch information...
1 parent 2ad02f9 commit cb5639ca1c7c5544c91c45096b8a4e2b415f9289 Gordon Bateson committed with Sam Hemelryk Jan 28, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/tablelib.php
View
@@ -797,7 +797,7 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL, $courseid=NULL
}
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 @@ function start_document($filename) {
$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

0 comments on commit cb5639c

Please sign in to comment.