mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 20:36:42 +01:00
MDL-31180 fix coding error in fake_recordset iterator
This commit is contained in:
parent
f6b4ec2b4a
commit
4ae40aa577
@ -46,11 +46,11 @@ class fake_recordset implements Iterator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function close() {
|
function close() {
|
||||||
$closed=true;
|
$this->closed=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function was_closed() {
|
function was_closed() {
|
||||||
return $closed;
|
return $this->closed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user