diff options
Diffstat (limited to 'mdkonline.pm')
-rw-r--r-- | mdkonline.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkonline.pm b/mdkonline.pm index ddd5b601..a9c51659 100644 --- a/mdkonline.pm +++ b/mdkonline.pm @@ -105,8 +105,8 @@ sub soap_register_host { } sub soap_upload_config { - my $data = $s->setHostConfig(@_)->result; - $data; + my $data = $s->setHostConfig(@_); + $data ? $data->result : undef; } sub soap_query_bundle { |