--- loncom/interface/domainprefs.pm 2009/03/31 16:59:01 1.91 +++ loncom/interface/domainprefs.pm 2009/04/22 12:42:16 1.92 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.91 2009/03/31 16:59:01 raeburn Exp $ +# $Id: domainprefs.pm,v 1.92 2009/04/22 12:42:16 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -242,7 +242,11 @@ sub handler { } sub process_changes { - my ($r,$dom,$confname,$action,$roles,%domconfig) = @_; + my ($r,$dom,$confname,$action,$roles,$values) = @_; + my %domconfig; + if (ref($values) eq 'HASH') { + %domconfig = %{$values}; + } my $output; if ($action eq 'login') { $output = &modify_login($r,$dom,$confname,%domconfig);