issue #1309 compatibility PHP 8

This commit is contained in:
plegall
2021-08-06 15:46:04 +02:00
parent e537eac9dd
commit a0be45af34
8 changed files with 33 additions and 12 deletions
+8 -1
View File
@@ -584,7 +584,14 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF
}
$result = trigger_change('ws_invoke_allowed', true, $methodName, $params);
if ( strtolower( @get_class($result) )!='pwgerror')
$is_error = false;
if (is_object($result) and strtolower( get_class($result) ) == 'pwgerror')
{
$is_error = true;
}
if (!$is_error)
{
if ( !empty($method['include']) )
{