Skip to content
Browse files

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

  • Loading branch information...
1 parent d563d48 commit 898010f1aa9853297fcb805bccf146d629040c47 @danpoltawski danpoltawski committed with Sam Hemelryk Jul 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/resource/lib.php
View
1 mod/resource/lib.php
@@ -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.
Something went wrong with that request. Please try again.