Skip to content

Commit

Permalink
MDL-44499: Fix PHP warning in upload_manager class
Browse files Browse the repository at this point in the history
  • Loading branch information
tlock committed Mar 7, 2014
1 parent 7330bde commit 56e19b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/uploadlib.php
Expand Up @@ -94,6 +94,7 @@ function upload_manager($inputname='', $deleteothers=false, $handlecollisions=fa
$course = $SITE;
}

$this->config = new stdClass();
$this->config->deleteothers = $deleteothers;
$this->config->handlecollisions = $handlecollisions;
$this->config->recoverifmultiple = $recoverifmultiple;
Expand Down

0 comments on commit 56e19b5

Please sign in to comment.