This commit is contained in:
garnier-quentin 2019-08-09 13:33:13 +02:00
parent a3f5c9b5c5
commit 010e347e6a
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ sub run {
$self->{output}->output_add(long_msg => $self->{soap_response}, debug => 1);
if (!defined($self->{option_results}->{lookup}) ||
scalar(@{$self->{option_results}->{lookup}}) == 0 ||
$self->{option_results}->{lookup} eq ''
$self->{option_results}->{lookup}->[0] eq ''
) {
$self->{output}->output_add(severity => 'OK',
short_msg => "SOAP request success");