php 8.2.4 archive-error

removes under php 8.2.4 an error  with call_user_func_array -> not object or class  in Archive.php line1 155
This commit is contained in:
gtbu 2023-11-28 14:29:06 +01:00
parent 04f25321f6
commit 7f8c347917
1 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,9 @@ class Archive{
*
*/
public function __call( $name , $arguments ){
return call_user_func_array( array($this->php_object,$name), $arguments);
$call1 = new \ZipArchive();
$call1 = $this->php_object;
return call_user_func_array( array($call1,$name), $arguments);
}