--- loncom/xml/run.pm 2002/05/24 16:48:50 1.30 +++ loncom/xml/run.pm 2002/06/24 21:23:26 1.31 @@ -1,6 +1,6 @@ package Apache::run; # -# $Id: run.pm,v 1.30 2002/05/24 16:48:50 albertel Exp $ +# $Id: run.pm,v 1.31 2002/06/24 21:23:26 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -39,7 +39,7 @@ ENDEVALUATE sub evaluate { my ($expression,$safeeval,$decls) = @_; unless (defined($expression)) { return ''; } - if (!$Apache::lonxml::evaluate) { return $expression; } + if ($Apache::lonxml::evaluate < 1) { return $expression; } my $result = ''; $@=''; if ($Apache::lonxml::request) {