Log Message:
-----------
Added comments.
Modified Files:
--------------
pg/macros:
PGanswermacros.pl
Revision Data
-------------
Index: PGanswermacros.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/PGanswermacros.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -Lmacros/PGanswermacros.pl -Lmacros/PGanswermacros.pl -u -r1.30 -r1.31
--- macros/PGanswermacros.pl
+++ macros/PGanswermacros.pl
@@ -2657,7 +2657,7 @@
#strict_str_cmp( @_ );
my $response = shift; # there should be only one item.
warn "Multiple choices -- this should not happen with radio buttons. Have
- you used checkboxes perhaps?" if ref($response);
+ you used checkboxes perhaps?" if ref($response); #triggered if an ARRAY is passed
str_cmp($response);
}
|