--- loncom/interface/selfenroll.pm 2008/05/14 20:06:51 1.3 +++ loncom/interface/selfenroll.pm 2008/06/03 03:07:38 1.4 @@ -1,7 +1,7 @@ # The LearningOnline Network # Allow users to self-enroll in a course # -# $Id: selfenroll.pm,v 1.3 2008/05/14 20:06:51 raeburn Exp $ +# $Id: selfenroll.pm,v 1.4 2008/06/03 03:07:38 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -171,7 +171,7 @@ END $r->print('
  • '.&mt('Otherwise:').'
    '); my $count = 0; foreach my $type ('sso','login','email') { - if ($count> 0) { + if (($count > 0) && ($count <@cancreate)) { $r->print(' , '.&mt('or').'
    '); } if (grep(/^$type$/,@cancreate)) {