--- loncom/interface/loncreateuser.pm 2015/06/09 21:22:56 1.405 +++ loncom/interface/loncreateuser.pm 2016/08/11 00:09:39 1.406.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.405 2015/06/09 21:22:56 damieng Exp $ +# $Id: loncreateuser.pm,v 1.406.2.1 2016/08/11 00:09:39 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2244,8 +2244,8 @@ sub personal_data_display { ''; $rowcount ++; $output .= &Apache::lonhtmlcommon::row_closure(1); - my $upassone = ''; - my $upasstwo = ''; + my $upassone = ''; + my $upasstwo = ''; $output .= &Apache::lonhtmlcommon::row_title(&mt('Password').'*', 'LC_pick_box_title', 'LC_oddrow_value')."\n". @@ -5746,6 +5746,12 @@ ENDSCRIPT $cathash = $domconfig{'coursecategories'}{'cats'}; $cattype{'auth'} = $domconfig{'coursecategories'}{'auth'}; $cattype{'unauth'} = $domconfig{'coursecategories'}{'unauth'}; + if ($cattype{'auth'} eq '') { + $cattype{'auth'} = 'std'; + } + if ($cattype{'unauth'} eq '') { + $cattype{'unauth'} = 'std'; + } } else { $cathash = {}; $cattype{'auth'} = 'std';