--- loncom/interface/londocs.pm 2008/09/04 17:07:28 1.309 +++ loncom/interface/londocs.pm 2008/09/04 17:50:47 1.310 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.309 2008/09/04 17:07:28 raeburn Exp $ +# $Id: londocs.pm,v 1.310 2008/09/04 17:50:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1496,7 +1496,9 @@ sub editor { $r->print(''.&mt('Currently no documents.').''); } $r->print("\n\n"); - &print_paste_buffer($r,$container); + if ($allowed) { + &print_paste_buffer($r,$container); + } return; }