--- loncom/homework/lonhomework.pm 2008/01/21 17:20:45 1.290 +++ loncom/homework/lonhomework.pm 2008/03/12 02:46:53 1.291 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.290 2008/01/21 17:20:45 www Exp $ +# $Id: lonhomework.pm,v 1.291 2008/03/12 02:46:53 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1176,8 +1176,8 @@ sub update_construct_style { &Apache::lonnet::delenv('construct\\.style'); } elsif ($env{'form.style_file'} && $env{'construct.style'} ne $env{'form.style_file'}) { - &Apache::lonnet::appenv('construct.style' => - $env{'form.style_file'}); + &Apache::lonnet::appenv({'construct.style' => + $env{'form.style_file'}}); } } }