--- loncom/interface/lonsyllabus.pm 2013/10/03 12:45:14 1.135 +++ loncom/interface/lonsyllabus.pm 2014/01/09 15:18:40 1.136 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.135 2013/10/03 12:45:14 raeburn Exp $ +# $Id: lonsyllabus.pm,v 1.136 2014/01/09 15:18:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1503,7 +1503,7 @@ sub home_http_host { if ($home ne 'no_host') { my $protocol = $Apache::lonnet::protocol{$home}; $protocol = 'http' if ($protocol ne 'https'); - return $protocol.'://'.$home; + return $protocol.'://'.&Apache::lonnet::hostname($home); } return; }