Update lib/WeBWorK/Utils/Tasks.pm

added line 266 

my $permissionLevel = $args{'permission_level'} || 10;

to the renderProblems subroutine