[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 20 Nov 2007 17:54:40 -0000
albertel Tue Nov 20 12:54:40 2007 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- BUG#5513 - need to bea ble to set a course level first access too
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.927 loncom/lonnet/perl/lonnet.pm:1.928
--- loncom/lonnet/perl/lonnet.pm:1.927 Mon Nov 19 19:26:38 2007
+++ loncom/lonnet/perl/lonnet.pm Tue Nov 20 12:54:40 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.927 2007/11/20 00:26:38 albertel Exp $
+# $Id: lonnet.pm,v 1.928 2007/11/20 17:54:40 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2685,7 +2685,9 @@
my ($type)=@_;
my ($symb,$courseid,$udom,$uname)=&whichuser();
my ($map,$id,$res)=&decode_symb($symb);
- if ($type eq 'map') {
+ if ($type eq 'course') {
+ $res='course';
+ } elsif ($type eq 'map') {
$res=&symbread($map);
} else {
$res=$symb;