mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Call by reference is naughty, according to the PHP developers :-(
This commit is contained in:
parent
9ff8efeb8b
commit
471d0025f1
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user