passing 0 deprecated -corr

This commit is contained in:
gtbu 2022-06-02 20:06:15 +02:00
parent 6710b3b469
commit b586a77021
1 changed files with 1 additions and 1 deletions

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 ? $this->trash_path : 0) ){
\gp\tool\Files::RmAll($this->trash_path);
}
}