Passing null to parameter deprecated php8

This commit is contained in:
gtbu 2022-06-01 10:11:33 +02:00
parent a77e638910
commit afa824d768

View file

@ -1374,7 +1374,7 @@ class Installer extends \gp\admin\Addon\Tools{
\gp\tool\Files::RmAll($this->source);
}
if( file_exists($this->trash_path) ){
if( file_exists($this->trash_path) ?? ''){
\gp\tool\Files::RmAll($this->trash_path);
}
}