mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 13:59:11 +01:00
Update installer.php
Deprecated: Automatic conversion of false to array is deprecated in php 8.2
This commit is contained in:
parent
3c28626217
commit
04f25321f6
1 changed files with 1 additions and 1 deletions
|
@ -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 ){
|
||||
|
|
Loading…
Reference in a new issue