From 471d0025f1d830f0ce71d22cfff69ebbda3de56f Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 10 Sep 2009 22:00:43 +1200 Subject: [PATCH] Call by reference is naughty, according to the PHP developers :-( --- inc/RRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/RRule.php b/inc/RRule.php index ffbd19d6..af3ede76 100644 --- a/inc/RRule.php +++ b/inc/RRule.php @@ -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 */