From 010e347e6a3f4cc3bc22d6f9a6a373fb5da8e6e9 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 9 Aug 2019 13:33:13 +0200 Subject: [PATCH] Fix #1615 --- apps/protocols/http/mode/soapcontent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/protocols/http/mode/soapcontent.pm b/apps/protocols/http/mode/soapcontent.pm index 845e82d10..17ce2a675 100644 --- a/apps/protocols/http/mode/soapcontent.pm +++ b/apps/protocols/http/mode/soapcontent.pm @@ -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");