--- loncom/homework/default_homework.lcpm 2003/03/25 23:00:18 1.59 +++ loncom/homework/default_homework.lcpm 2003/03/25 23:05:03 1.60 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # used by lonxml::xmlparse() as input variable $safeinit to Apache::run::run() # -# $Id: default_homework.lcpm,v 1.59 2003/03/25 23:00:18 albertel Exp $ +# $Id: default_homework.lcpm,v 1.60 2003/03/25 23:05:03 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -142,7 +142,7 @@ sub get_array_args { } $GET_ARRAY_ARGS_result.="error:$@:\n"; # if the eval fails just use what is in the answer exactly - if (!defined(@GET_ARRAY_ARGS_list) || !defined($GET_ARRAY_ARGS_list[0])) { + if (!(@GET_ARRAY_ARGS_list) || !defined($GET_ARRAY_ARGS_list[0])) { $GET_ARRAY_ARGS_result.="list zero is undefined\n"; $GET_ARRAY_ARGS_list[0]=$CAPARESPONSE_CHECK_LIST_answer; } @@ -151,7 +151,6 @@ sub get_array_args { sub caparesponse_check_list { my ($response,$expr)=@_; - my $result; $expr =~ s/\\/\\\\/g; $expr =~ s/\'/\\\'/g; my ($result,@list) = &get_array_args($expr,'answer'); 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.