MDL-31180 fix coding error in fake_recordset iterator

This commit is contained in:
Petr Skoda
2012-01-23 01:12:32 +01:00
committed by Eloy Lafuente (stronk7)
parent ed6af81b50
commit 196eedebb1
+2 -2
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;
}
}