Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed Jul 24, 2023
1 parent d661117 commit 98dde3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ONVIF IO/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ protected function Subscribe()
$Response = '';
$this->WaitForFirstEvent = true;
$SubscribeResult = $this->SendData($XAddr[\ONVIF\NS::Event], \ONVIF\WSDL::Event, 'Subscribe', true, $Params, $Response, $Header);
if (is_a($SubscribeResult, 'SoapFault')) {
if (is_a($SubscribeResult, 'SoapFault') || (!is_object($SubscribeResult))) {
/*$this->SetStatus(IS_EBASE + 3);
$this->LogMessage($this->Translate('Connection lost'), KL_ERROR);
$this->ShowLastError($SubscribeResult->getMessage());
Expand Down

0 comments on commit 98dde3c

Please sign in to comment.