Log Message:
-----------
Fixed problem with call to $equation->Error (due to change in
error-handling that allows for translation of error messages).
Modified Files:
--------------
pg/macros:
contextString.pl
Revision Data
-------------
Index: contextString.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/contextString.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lmacros/contextString.pl -Lmacros/contextString.pl -u -r1.2 -r1.3
--- macros/contextString.pl
+++ macros/contextString.pl
@@ -26,7 +26,7 @@
my @strings = grep {not defined($context->strings->get($_)->{alias})}
$context->strings->names;
my $strings = join(', ',@strings[0..$#strings-1]).' or '.$strings[-1];
- $equation->Error("Your answer should be one of %s",$strings);
+ $equation->Error(["Your answer should be one of %s",$strings]);
}
package contextString::Formula;
|