Skip to content
Browse files

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

  • Loading branch information...
1 parent 439ae87 commit 017c440bb4e4fc821a0dce854b129ee5fdab15c5 @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 017c440

Please sign in to comment.
Something went wrong with that request. Please try again.