--- loncom/interface/domainprefs.pm 2009/04/22 14:09:13 1.93 +++ loncom/interface/domainprefs.pm 2009/04/24 04:58:27 1.94 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.93 2009/04/22 14:09:13 raeburn Exp $ +# $Id: domainprefs.pm,v 1.94 2009/04/24 04:58:27 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -204,7 +204,6 @@ sub handler { &Apache::lonconfigsettings::display_settings($r,$dom,$phase,$context,\@prefs_order,\%prefs,\%domconfig,$confname); } else { if (keys(%domconfig) == 0) { - &Apache::lonconfigsettings::print_header($r,$phase,$context); my $primarylibserv = &Apache::lonnet::domain($dom,'primary'); my @ids=&Apache::lonnet::current_machine_ids(); if (!grep(/^\Q$primarylibserv\E$/,@ids)) { @@ -222,6 +221,7 @@ sub handler { } } if ($custom_img_count > 0) { + &Apache::lonconfigsettings::print_header($r,$phase,$context); my $switch_server = &check_switchserver($dom,$confname); $r->print( &mt('Domain configuration settings have yet to be saved for this domain via the web-based domain preferences interface.').'
'.