Call by reference is naughty, according to the PHP developers :-(

This commit is contained in:
Andrew McMillan 2009-09-10 22:00:43 +12:00
parent 9ff8efeb8b
commit 471d0025f1

View File

@ -334,7 +334,7 @@ class iCalDate {
}
if ( $from->_epoch < $this->_epoch ) {
/** One way to simplify is to always go for positive differences */
return( "-". $from->DateDifference( &$self ) );
return( "-". $from->DateDifference( $self ) );
}
// if ( $from->_yy == $this->_yy && $from->_mo == $this->_mo ) {
/** Also somewhat simpler if we can use seconds */