Permalink
Browse files

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

  • Loading branch information...
1 parent 39d106e commit b9d64ab18fdb12df3c1ea0e8740d76de2d499596 @andyjdavis andyjdavis committed May 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 admin/roles/lib.php
View
1 admin/roles/lib.php
@@ -1316,6 +1316,7 @@ public function load_current_settings() {
foreach ($rs as $allow) {
$this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
}
+ $rs->close();
}
/**

0 comments on commit b9d64ab

Please sign in to comment.