--- loncom/interface/lonrss.pm 2022/01/20 00:26:02 1.53.2.6 +++ loncom/interface/lonrss.pm 2021/11/30 17:35:10 1.60 @@ -1,7 +1,7 @@ # The LearningOnline Network # RSS Feeder # -# $Id: lonrss.pm,v 1.53.2.6 2022/01/20 00:26:02 raeburn Exp $ +# $Id: lonrss.pm,v 1.60 2021/11/30 17:35:10 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -289,9 +289,9 @@ sub blocking_blogdisplay { } elsif ($blockcause eq 'ip') { my $showdom = &Apache::lonnet::domain($blockdom); if ($showdom eq '') { - $showdom = $blockdom; + $showdom = $blockdom } - $output .= &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain.',$showdom); + $output .= &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain',$showdom); } else { $output .= &mt('This is because the blog owner is a student in one or more courses in which communication is being blocked.'); } @@ -337,7 +337,7 @@ sub handler { my ($displayfeedname,$displayoption)=&displayfeedname($filename,$uname,$udom); my ($blocked,$blocktext,$disabled,$disabletext); if (!&Apache::lonnet::is_course($udom,$uname)) { - my $clientip = &Apache::lonnet::get_requestor_ip($r); + my $clientip = &Apache::lonnet::get_requestor_ip($r); ($blocked,$blocktext) = &blocking_blogdisplay($uname,$udom,$html,$filterfeedname,$clientip); if (&Apache::lonnet::usertools_access($uname,$udom,'blog')) { $disabled = 0;