mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 23:59:41 +02:00
MDL-27460 roles: now closing a record set that wasnt being closed
This commit is contained in:
parent
439ae873af
commit
017c440bb4
1 changed files with 1 additions and 0 deletions
|
@ -1316,6 +1316,7 @@ abstract class role_allow_role_page {
|
|||
foreach ($rs as $allow) {
|
||||
$this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
|
||||
}
|
||||
$rs->close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue