--- loncom/interface/loncommon.pm 2013/05/25 21:56:23 1.1130 +++ loncom/interface/loncommon.pm 2013/05/26 22:00:24 1.1131 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1130 2013/05/25 21:56:23 raeburn Exp $ +# $Id: loncommon.pm,v 1.1131 2013/05/26 22:00:24 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5155,6 +5155,8 @@ sub bodytag { my $bodytag = "". &Apache::lontexconvert::init_math_support($args->{'inherit_jsmath'}); + &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']); + if (($bodyonly) || ($no_nav_bar) || ($env{'form.inhibitmenu'} eq 'yes')) { return $bodytag; } @@ -5176,7 +5178,6 @@ sub bodytag { } $role = '('.$role.')' if $role; - &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']); if ($env{'request.state'} eq 'construct') { $forcereg=1; }