--- loncom/cgi/createpending.pl 2014/04/16 15:36:38 1.1 +++ loncom/cgi/createpending.pl 2016/08/17 14:35:57 1.2 @@ -1,10 +1,10 @@ #!/usr/bin/perl $|=1; # Script to complete processing of course/community requests -# for unofficial courses, textbook courses and communities -# queued pending validation, once validated. +# for unofficial courses, textbook courses, communities and +# placement tests queued pending validation, once validated. # -# $Id: createpending.pl,v 1.1 2014/04/16 15:36:38 raeburn Exp $ +# $Id: createpending.pl,v 1.2 2016/08/17 14:35:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -188,7 +188,7 @@ sub main { } } if ($field eq 'coursetype') { - if ($query->param($field) =~ /^(unofficial|community|textbook)$/) { + if ($query->param($field) =~ /^(unofficial|community|textbook|placement)$/) { $params{$field} = $query->param($field); } } @@ -231,7 +231,7 @@ Inputs: $dom - domain of course to be cr (either query string or POSTed). Keys which will be used are fields specified in domain configuration for validation of pending unofficial courses, textbook courses, - and communities. + communities and placement tests. Returns: $url,$code - If processing of the pending course request succeeds, a URL is returned which may be used by the requester to access