From: Jozef S. <jo...@us...> - 2005-10-27 20:31:21
|
Update of /cvsroot/gallery/gallery2/modules/core/test/phpunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1158/modules/core/test/phpunit Modified Files: RepositoryIndexTest.class Log Message: PHP 5.0.5 compatibility fix (thanks Edgeman) Index: RepositoryIndexTest.class =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/core/test/phpunit/RepositoryIndexTest.class,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- RepositoryIndexTest.class 25 Oct 2005 21:42:41 -0000 1.1 +++ RepositoryIndexTest.class 27 Oct 2005 20:31:12 -0000 1.2 @@ -265,7 +265,7 @@ $this->_index->_index = ''; $this->_index->_isLoaded = false; - $ret = $this->_index->unserializeIndex(serialize($this->_sampleIndex)); + $ret = $this->_index->unserializeIndex($serializedIndex = serialize($this->_sampleIndex)); if ($ret->isError()) { $this->failWithStatus($ret); } |