[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 09 Feb 2006 23:23:00 -0000


albertel		Thu Feb  9 18:23:00 2006 EDT

  Modified files:              (Branch: version_2_1_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  -backport 1.708
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.683.2.15 loncom/lonnet/perl/lonnet.pm:1.683.2.16
--- loncom/lonnet/perl/lonnet.pm:1.683.2.15	Tue Feb  7 12:30:00 2006
+++ loncom/lonnet/perl/lonnet.pm	Thu Feb  9 18:22:59 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.683.2.15 2006/02/07 17:30:00 albertel Exp $
+# $Id: lonnet.pm,v 1.683.2.16 2006/02/09 23:22:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -948,7 +948,7 @@
     my ($udom,$unam,$ext) = @_;
     my $home=&Apache::lonnet::homeserver($unam,$udom);
     if (defined($env{'request.course.id'})) {
-        if ($env{'course.'.$env{'request.course.id'}.'.internal.showphotos'}) {
+        if ($env{'course.'.$env{'request.course.id'}.'.internal.showphoto'}) {
             if ($udom eq $env{'course.'.$env{'request.course.id'}.'.domain'}) {
                 return(&retrievestudentphoto($udom,$unam,$ext)); 
             } else {