version 1.249.2.1, 2008/07/08 04:27:51
|
version 1.251, 2008/07/10 22:07:18
|
Line 3538 sub selfenroll_inst_types {
|
Line 3538 sub selfenroll_inst_types {
|
my ($othertitle,$usertypes,$types) = &Apache::loncommon::sorted_inst_types($currdom); |
my ($othertitle,$usertypes,$types) = &Apache::loncommon::sorted_inst_types($currdom); |
my $othervalue = 'any'; |
my $othervalue = 'any'; |
if ((ref($types) eq 'ARRAY') && (ref($usertypes) eq 'HASH')) { |
if ((ref($types) eq 'ARRAY') && (ref($usertypes) eq 'HASH')) { |
if (@{$types} > 0) { |
if (keys(%{$usertypes}) > 0) { |
$othervalue = 'other'; |
$othervalue = 'other'; |
} |
} |
$output .= '<table><tr>'; |
$output .= '<table><tr>'; |