Return to response.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.134, 2005/12/20 16:31:50 | version 1.135, 2006/01/21 08:17:51 |
---|---|
Line 884 sub add_to_gradingqueue { | Line 884 sub add_to_gradingqueue { |
my ($symb,$courseid,$domain,$name) = &Apache::lonxml::whichuser(); | my ($symb,$courseid,$domain,$name) = &Apache::lonxml::whichuser(); |
if ( $courseid eq '' | if ( $courseid eq '' |
|| $symb eq '' | || $symb eq '' |
|| $env{'request.state'} eq 'construct') { | || $env{'request.state'} eq 'construct' |
|| $Apache::lonhomework::type ne 'problem') { | |
return; | return; |
} | } |