[LON-CAPA-cvs] cvs: loncom /homework grades.pm
raeburn
lon-capa-cvs@mail.lon-capa.org
Thu, 04 Jan 2007 16:50:03 -0000
raeburn Thu Jan 4 11:50:03 2007 EDT
Modified files:
/loncom/homework grades.pm
Log:
Include baseurl and symb in unencrypted case too.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.386 loncom/homework/grades.pm:1.387
--- loncom/homework/grades.pm:1.386 Thu Jan 4 09:59:57 2007
+++ loncom/homework/grades.pm Thu Jan 4 11:50:02 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.386 2007/01/04 14:59:57 raeburn Exp $
+# $Id: grades.pm,v 1.387 2007/01/04 16:50:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2125,6 +2125,9 @@
if ($encrypturl =~ /^yes$/i) {
$baseurl = &Apache::lonenc::encrypted($feedurl,1);
$showsymb = &Apache::lonenc::encrypted($symb,1);
+ } else {
+ $baseurl = $feedurl;
+ $showsymb = $symb;
}
if ($includemsg =~ /savemsg|newmsg\Q$ctr\E/) {
$subject = $env{'form.msgsub'} if ($includemsg =~ /msgsub/);