Skip to content

Commit

Permalink
MDL-40410 remove ampersands required for PHP strict standards lib/tab…
Browse files Browse the repository at this point in the history
…lelib.php
  • Loading branch information
Gordon Bateson authored and Sam Hemelryk committed Feb 3, 2014
1 parent 881b844 commit d084d17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tablelib.php
Expand Up @@ -797,7 +797,7 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL, $courseid=NULL
} }
return format_text($text, $format, $options); return format_text($text, $format, $options);
} else { } else {
$eci =& $this->export_class_instance(); $eci = $this->export_class_instance();
return $eci->format_text($text, $format, $options, $courseid); return $eci->format_text($text, $format, $options, $courseid);
} }
} }
Expand Down Expand Up @@ -1528,9 +1528,9 @@ function start_document($filename) {
$filename = $filename.'.'.$this->fileextension; $filename = $filename.'.'.$this->fileextension;
$this->define_workbook(); $this->define_workbook();
// format types // format types
$this->formatnormal =& $this->workbook->add_format(); $this->formatnormal = $this->workbook->add_format();
$this->formatnormal->set_bold(0); $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_bold(1);
$this->formatheaders->set_align('center'); $this->formatheaders->set_align('center');
// Sending HTTP headers // Sending HTTP headers
Expand Down

0 comments on commit d084d17

Please sign in to comment.