BUGFIX #2243: Fixed ViewableData::Odd

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65275 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-11-05 04:31:53 +00:00
parent 33219fcad2
commit f3419bf046

View File

@ -671,7 +671,7 @@ class ViewableData extends Object implements IteratorAggregate {
* @return boolean
*/
function Odd() {
return !$this->iteratorPos % 2;
return !$this->Even();
}
/**