Passing null to parameter deprecated php8
This commit is contained in:
parent
a77e638910
commit
afa824d768
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue