version 1.22, 2009/08/22 20:17:03
|
version 1.23, 2009/08/22 21:08:39
|
Line 2044 sub print_request_outcome {
|
Line 2044 sub print_request_outcome {
|
if ($validation =~ /^error(.*)$/) { |
if ($validation =~ /^error(.*)$/) { |
$disposition = 'approval'; |
$disposition = 'approval'; |
$validationerror = $1; |
$validationerror = $1; |
|
} else { |
|
$disposition = $validation; |
} |
} |
} else { |
} else { |
$disposition = 'approval'; |
$disposition = 'approval'; |
Line 2207 sub get_processtype {
|
Line 2209 sub get_processtype {
|
if (ref($domconfig->{'requestcourses'}) eq 'HASH') { |
if (ref($domconfig->{'requestcourses'}) eq 'HASH') { |
%settings = %{$domconfig->{'requestcourses'}}; |
%settings = %{$domconfig->{'requestcourses'}}; |
if (ref($settings{$crstype}) eq 'HASH') { |
if (ref($settings{$crstype}) eq 'HASH') { |
if (($env{'user.adv'}) && (exists($settings{$crstype}{'_LC_adv'}))) { |
if (($env{'user.adv'}) && ($settings{$crstype}{'_LC_adv'} ne '')) { |
$val = $settings{$crstype}{'_LC_adv'}; |
$val = $settings{$crstype}{'_LC_adv'}; |
@{$inststatuses} = ('_LC_adv_'); |
@{$inststatuses} = ('_LC_adv_'); |
} else { |
} else { |