Update installer.php

Deprecated: Automatic conversion of false to array is deprecated in php 8.2
This commit is contained in:
gtbu 2023-11-27 23:10:17 +01:00
parent 3c28626217
commit 04f25321f6

View file

@ -904,7 +904,7 @@ class Installer extends \gp\admin\Addon\Tools{
$result = $full_result['body'];
$md5 =& $full_result['headers']['x-md5'];
$package_md5 = md5($result);
$package_md5 = md5($result ?? '');
//check md5
if( $package_md5 != $md5 ){