[LON-CAPA-cvs] cvs: loncom /homework functionplotresponse.pm
www
www at source.lon-capa.org
Sun Dec 25 20:48:10 EST 2011
www Mon Dec 26 01:48:10 2011 EDT
Modified files:
/loncom/homework functionplotresponse.pm
Log:
Unfortunately, "undev" does not evaluate to undev
Index: loncom/homework/functionplotresponse.pm
diff -u loncom/homework/functionplotresponse.pm:1.90 loncom/homework/functionplotresponse.pm:1.91
--- loncom/homework/functionplotresponse.pm:1.90 Sat Dec 10 18:10:56 2011
+++ loncom/homework/functionplotresponse.pm Mon Dec 26 01:48:10 2011
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# Functionplot responses
#
-# $Id: functionplotresponse.pm,v 1.90 2011/12/10 18:10:56 www Exp $
+# $Id: functionplotresponse.pm,v 1.91 2011/12/26 01:48:10 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1669,7 +1669,7 @@
#
# Evaluate the value
#
- if ($value=~/\D/) {
+ if (($value=~/\D/) && ($value ne 'undef')) {
$Apache::functionplotresponse::fpr_xmin=$xmin;
$Apache::functionplotresponse::fpr_xmax=$xmax;
$value=&Apache::run::run($value,$safeeval);
More information about the LON-CAPA-cvs
mailing list