$template->param(
CLASS => $self->{'class'},
- METHOD => $self->{'cgi'}->param('method'),
+ METHOD => scalar $self->{'cgi'}->param('method'),
PLUGIN_PATH => $self->get_plugin_http_path(),
);
}
# If user requested a service description, then display it
-if ( $cgi->param('service') eq "Describe" and any { $cgi->param('verb') eq $_ } @services ) {
+if ( scalar $cgi->param('service') eq "Describe" and any { scalar $cgi->param('verb') eq $_ } @services ) {
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{ template_name => "ilsdi.tt",
query => $cgi,
debug => 1,
}
);
- $template->param( $cgi->param('verb') => 1 );
+ $template->param( scalar $cgi->param('verb') => 1 );
output_html_with_http_headers $cgi, $cookie, $template->output;
exit 0;
}
exit unless $input->param('template_path');
my ($template, $user, $cookie) = get_template_and_user({
- template_name => $input->param('template_path'),
+ template_name => scalar $input->param('template_path'),
query => $input,
type => "intranet",
authnotrequired => 0,
exit unless $input->param('template_path');
my ($template, $user, $cookie) = get_template_and_user({
- template_name => $input->param('template_path'),
+ template_name => scalar $input->param('template_path'),
query => $input,
type => "intranet",
authnotrequired => 0,