--- loncom/interface/lonuserutils.pm 2008/01/06 04:27:25 1.45 +++ loncom/interface/lonuserutils.pm 2008/01/06 05:32:43 1.46 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Utility functions for managing LON-CAPA user accounts # -# $Id: lonuserutils.pm,v 1.45 2008/01/06 04:27:25 raeburn Exp $ +# $Id: lonuserutils.pm,v 1.46 2008/01/06 05:32:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1307,7 +1307,7 @@ sub print_userlist { } $r->rflush(); if ($context eq 'course') { - if ($env{'form.showrole'} eq 'st' || ($env{'form.showrole'} eq 'Any') { + if (($env{'form.showrole'} eq 'st') || ($env{'form.showrole'} eq 'Any')) { my $classlist = &Apache::loncoursedata::get_classlist(); %userlist = %{$classlist}; }