--- loncom/interface/domainprefs.pm 2021/12/28 03:35:34 1.160.6.116 +++ loncom/interface/domainprefs.pm 2021/12/30 00:22:02 1.160.6.117 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.160.6.116 2021/12/28 03:35:34 raeburn Exp $ +# $Id: domainprefs.pm,v 1.160.6.117 2021/12/30 00:22:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -17184,8 +17184,13 @@ sub modify_loadbalancing { } } if ($changes{'curr'}{$balancer}{'cookie'}) { - $resulttext .= '
  • '.&mt('Load Balancer: [_1] -- cookie use enabled', - $balancer).'
  • '; + if ($currcookies{$balancer}) { + $resulttext .= '
  • '.&mt('Load Balancer: [_1] -- cookie use disabled', + $balancer).'
  • '; + } else { + $resulttext .= '
  • '.&mt('Load Balancer: [_1] -- cookie use enabled', + $balancer).'
  • '; + } } } }