Lines 128-134
unless ( $cgi->param('service') ) {
Link Here
|
128 |
} |
128 |
} |
129 |
|
129 |
|
130 |
# If user requested a service description, then display it |
130 |
# If user requested a service description, then display it |
131 |
if ( $cgi->param('service') eq "Describe" and any { $cgi->param('verb') eq $_ } @services ) { |
131 |
if ( scalar $cgi->param('service') eq "Describe" and any { scalar $cgi->param('verb') eq $_ } @services ) { |
132 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
132 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
133 |
{ template_name => "ilsdi.tt", |
133 |
{ template_name => "ilsdi.tt", |
134 |
query => $cgi, |
134 |
query => $cgi, |
Lines 137-143
if ( $cgi->param('service') eq "Describe" and any { $cgi->param('verb') eq $_ }
Link Here
|
137 |
debug => 1, |
137 |
debug => 1, |
138 |
} |
138 |
} |
139 |
); |
139 |
); |
140 |
$template->param( $cgi->param('verb') => 1 ); |
140 |
$template->param( scalar $cgi->param('verb') => 1 ); |
141 |
output_html_with_http_headers $cgi, $cookie, $template->output; |
141 |
output_html_with_http_headers $cgi, $cookie, $template->output; |
142 |
exit 0; |
142 |
exit 0; |
143 |
} |
143 |
} |