Skip to content

Commit

Permalink
MDL-27460 roles: now closing a record set that wasnt being closed
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjdavis committed May 10, 2011
1 parent 439ae87 commit 017c440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/roles/lib.php
Expand Up @@ -1316,6 +1316,7 @@ public function load_current_settings() {
foreach ($rs as $allow) {
$this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
}
$rs->close();
}

/**
Expand Down

0 comments on commit 017c440

Please sign in to comment.