[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
raeburn
raeburn at source.lon-capa.org
Fri Sep 4 14:07:08 EDT 2015
raeburn Fri Sep 4 18:07:08 2015 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
- Bug 6778
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.405 loncom/interface/loncreateuser.pm:1.406
--- loncom/interface/loncreateuser.pm:1.405 Tue Jun 9 21:22:56 2015
+++ loncom/interface/loncreateuser.pm Fri Sep 4 18:07:07 2015
@@ -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 2015/09/04 18:07:07 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5746,6 +5746,12 @@
$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';
More information about the LON-CAPA-cvs
mailing list