passing 0 deprecated -corr
This commit is contained in:
parent
6710b3b469
commit
b586a77021
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 ? $this->trash_path : 0) ){
|
||||
\gp\tool\Files::RmAll($this->trash_path);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue