From 04f25321f64d968d1bb752a52f705c97118c909a Mon Sep 17 00:00:00 2001 From: gtbu <30436307+gtbu@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:10:17 +0100 Subject: [PATCH] Update installer.php Deprecated: Automatic conversion of false to array is deprecated in php 8.2 --- include/admin/Addon/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/admin/Addon/Installer.php b/include/admin/Addon/Installer.php index 000803f..f12ac03 100644 --- a/include/admin/Addon/Installer.php +++ b/include/admin/Addon/Installer.php @@ -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 ){