Skip to content
Browse files

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

…lelib.php
  • Loading branch information...
1 parent 881b844 commit d084d17c0e4b1683cdfbc930fcd9373af8d14426 Gordon Bateson committed with samhemelryk
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/tablelib.php
View
6 lib/tablelib.php
@@ -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);
}
}
@@ -1528,9 +1528,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 d084d17

Please sign in to comment.
Something went wrong with that request. Please try again.