MDL-31180 fix coding error in fake_recordset iterator
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
ed6af81b50
commit
196eedebb1
@@ -46,11 +46,11 @@ class fake_recordset implements Iterator {
|
||||
}
|
||||
|
||||
function close() {
|
||||
$closed=true;
|
||||
$this->closed=true;
|
||||
}
|
||||
|
||||
function was_closed() {
|
||||
return $closed;
|
||||
return $this->closed;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user