Permalink
Browse files

MDL-34061 mod_resource: filter settings weren't coming from defaults

  • Loading branch information...
danpoltawski authored and Sam Hemelryk committed Jul 4, 2012
1 parent d563d48 commit 898010f1aa9853297fcb805bccf146d629040c47
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/resource/lib.php
View
@@ -514,6 +514,7 @@ function resource_dndupload_handle($uploadinfo) {
$data->printintro = $config->printintro;
$data->showsize = $config->showsize;
$data->showtype = $config->showtype;
+ $data->filterfiles = $config->filterfiles;
return resource_add_instance($data, null);
}

0 comments on commit 898010f

Please sign in to comment.