--- loncom/interface/lonrss.pm 2022/01/20 00:26:02 1.53.2.6 +++ loncom/interface/lonrss.pm 2021/12/14 03:15:12 1.61 @@ -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.61 2021/12/14 03:15:12 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -291,7 +291,7 @@ sub blocking_blogdisplay { if ($showdom eq '') { $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;