From: moodler Date: Sun, 8 Jun 2003 11:25:45 +0000 (+0000) Subject: Fixed pass-by-reference X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f065b6389458f12d468744fb7db444321b8f08b6;p=moodle.git Fixed pass-by-reference --- diff --git a/lib/psxlsgen.php b/lib/psxlsgen.php index 45c030166e..12b4a0d251 100644 --- a/lib/psxlsgen.php +++ b/lib/psxlsgen.php @@ -105,7 +105,7 @@ if( !defined( "PHP_SIMPLE_XLS_GEN" ) ) { $this->ccol = 0; $this->crow++; } - $this->WriteNumber_pos( $this->crow, $this->ccol, &$value ); + $this->WriteNumber_pos( $this->crow, $this->ccol, $value ); $this->ccol++; return; } @@ -117,7 +117,7 @@ if( !defined( "PHP_SIMPLE_XLS_GEN" ) ) { $this->ccol = 0; $this->crow++; } - $this->WriteText_pos( $this->crow, $this->ccol, &$value ); + $this->WriteText_pos( $this->crow, $this->ccol, $value ); $this->ccol++; return; }