--- loncom/homework/structuretags.pm 2006/01/02 22:34:31 1.329 +++ loncom/homework/structuretags.pm 2006/01/09 20:47:52 1.330 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.329 2006/01/02 22:34:31 albertel Exp $ +# $Id: structuretags.pm,v 1.330 2006/01/09 20:47:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1586,7 +1586,7 @@ sub start_simpleeditbutton { my $result=''; if (($env{'form.simple_edit_button'} ne 'off') && ($target eq 'web') && - (&Apache::lonnet::allowed('srm',$env{'request.course.id'}))) { + (&Apache::lonnet::allowed('mdc',$env{'request.course.id'}))) { my $url=$env{'request.noversionuri'}; $url=~s/\?.*$//; my ($symb) = &Apache::lonxml::whichuser();