--- loncom/homework/edit.pm 2003/06/16 15:09:23 1.56
+++ loncom/homework/edit.pm 2003/06/30 20:41:35 1.57
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.56 2003/06/16 15:09:23 www Exp $
+# $Id: edit.pm,v 1.57 2003/06/30 20:41:35 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -518,7 +518,7 @@ sub text_arg {
my $arg=$token->[2]{$name};
$result=$description.' ';
- return $result;
+ return ''.$result.'';
}
sub select_arg {
@@ -540,10 +540,10 @@ sub select_arg {
$optionlist.="\n";
}
}
- $result.=$description.' ';
return $result;
}
@@ -577,7 +577,7 @@ sub select_or_text_arg {
} else {
$result.=&text_arg($description,$name,$token,$size);
}
- return $result;
+ return ''.$result.'';
}
#----------------------------------------------------- image coordinates