MDL-27460 roles: now closing a record set that wasnt being closed

This commit is contained in:
Andrew Davis (andyjdavis)
2011-05-10 17:01:08 +08:00
parent 439ae873af
commit 017c440bb4
+1
View File
@@ -1316,6 +1316,7 @@ abstract class role_allow_role_page {
foreach ($rs as $allow) {
$this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
}
$rs->close();
}
/**