mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
33219fcad2
commit
f3419bf046
@ -671,7 +671,7 @@ class ViewableData extends Object implements IteratorAggregate {
|
||||
* @return boolean
|
||||
*/
|
||||
function Odd() {
|
||||
return !$this->iteratorPos % 2;
|
||||
return !$this->Even();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user