MDL-31180 fix coding error in fake_recordset iterator

This commit is contained in:
Petr Skoda 2012-01-21 17:13:39 +01:00
parent f6b4ec2b4a
commit 4ae40aa577

View File

@ -46,11 +46,11 @@ class fake_recordset implements Iterator {
}
function close() {
$closed=true;
$this->closed=true;
}
function was_closed() {
return $closed;
return $this->closed;
}
}