--- loncom/interface/domainprefs.pm 2009/12/04 14:17:38 1.122 +++ loncom/interface/domainprefs.pm 2009/12/04 14:33:52 1.123 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.122 2009/12/04 14:17:38 jms Exp $ +# $Id: domainprefs.pm,v 1.123 2009/12/04 14:33:52 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6033,7 +6033,14 @@ sub modify_helpsettings { } } - my $putresult = &Apache::lonnet::put_dom('configuration',\%helphash,$dom); + + my $putresult; + + if (keys(%changes) > 0) { + $putresult = &Apache::lonnet::put_dom('configuration',\%helphash,$dom); + } else { + $putresult = 'ok'; + } if ($putresult eq 'ok') { if (keys(%changes) > 0) {