Errrr. good point.....
I've patched the file
..... webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm revision 1.47.2.1
if you are hooked up via the CVS you can go to
..../webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm
and type
cvs update -r 1.47.2.1 Hardcopy.pm
to get it. (You may be using wwcvs if you have set up anonymous access to the cvs).
This will update just the one file.
If you want to download the file by hand look at:
http://cvs.webwork.rochester.edu/viewcvs.cgi/webwork2/lib/WeBWorK/ContentGenerator/
The essential change was to replace
@sets = grep { defined $_ } @sets;
by
@sets = grep { defined $_ and ( $self->{permissionLevel} > 0 or ($_->published and $_->open_date < time) ) } @sets;
in line 289. There were some other minor changes as well.
Thanks for the report.
<| Post or View Comments |>
|