Fix warnings in PHP 8.x

This commit is contained in:
Kijin Sung 2025-03-01 16:33:06 +09:00
parent 5e6b3483e2
commit 5656189a19
3 changed files with 4 additions and 4 deletions

View file

@ -370,7 +370,7 @@ class autoinstallModel extends autoinstall
function getRemoveUrlByPackageSrl($packageSrl)
{
$ftp_info = Context::getFTPInfo();
if(!$ftp_info->ftp_root_path)
if(empty($ftp_info->ftp_root_path))
{
return;
}