MDL-27460 roles: now closing a record set that wasnt being closed
This commit is contained in:
@@ -1316,6 +1316,7 @@ abstract class role_allow_role_page {
|
||||
foreach ($rs as $allow) {
|
||||
$this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
|
||||
}
|
||||
$rs->close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user