--- loncom/interface/loncommon.pm 2006/12/24 21:13:37 1.497 +++ loncom/interface/loncommon.pm 2007/01/15 18:04:12 1.500 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.497 2006/12/24 21:13:37 raeburn Exp $ +# $Id: loncommon.pm,v 1.500 2007/01/15 18:04:12 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,7 +59,7 @@ use Apache::lonnet; use GDBM_File; use POSIX qw(strftime mktime); use Apache::lonmenu(); -use Apache::lonenc; +use Apache::lonenc(); use Apache::lonlocal; use HTML::Entities; use Apache::lonhtmlcommon(); @@ -3344,7 +3344,7 @@ sub bodytag { my ($role,$realm) = split(/\./,$env{'request.role'},2); if ($role eq 'ca') { my ($rdom,$rname) = ($realm =~ m{^/($match_domain)/($match_username)$}); - $realm = &plainname($rname,$rdom).':'.$rdom; + $realm = &plainname($rname,$rdom); } # realm if ($env{'request.course.id'}) { @@ -6125,12 +6125,11 @@ sub store_settings { } # Make sure these settings stick around in this session, too &Apache::lonnet::appenv(%AppHash); - &Apache::lonnet::logthis(join(':',%AppHash)); return; } sub restore_course_settings { - return &return_settings($env{'request.course.id'},@_); + return &restore_settings($env{'request.course.id'},@_); } sub restore_settings {