Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit b9d64ab18fdb12df3c1ea0e8740d76de2d499596 1 parent 39d106e
Andrew Davis andyjdavis authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  admin/roles/lib.php
1  admin/roles/lib.php
@@ -1316,6 +1316,7 @@ public function load_current_settings() {
1316 1316 foreach ($rs as $allow) {
1317 1317 $this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
1318 1318 }
  1319 + $rs->close();
1319 1320 }
1320 1321
1321 1322 /**

0 comments on commit b9d64ab

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