--- loncom/lonnet/perl/lonnet.pm 2005/03/03 23:21:54 1.605 +++ loncom/lonnet/perl/lonnet.pm 2005/03/10 19:10:30 1.606 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.605 2005/03/03 23:21:54 matthew Exp $ +# $Id: lonnet.pm,v 1.606 2005/03/10 19:10:30 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1063,6 +1063,9 @@ sub repcopy { # ------------------------------------------------ Get server side include body sub ssi_body { my ($filelink,%form)=@_; + if (! exists($form{'LONCAPA_INTERNAL_no_discussion'})) { + $form{'LONCAPA_INTERNAL_no_discussion'}='true'; + } my $output=($filelink=~/^http\:/?&externalssi($filelink): &ssi($filelink,%form)); $output=~s|//(\s*)?\s||gs;