From b586a77021501f401a09895604f7ba0bbeefc0ba Mon Sep 17 00:00:00 2001 From: gtbu Date: Thu, 2 Jun 2022 20:06:15 +0200 Subject: [PATCH] passing 0 deprecated -corr --- include/admin/Addon/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/admin/Addon/Installer.php b/include/admin/Addon/Installer.php index fd1fc26..000803f 100644 --- a/include/admin/Addon/Installer.php +++ b/include/admin/Addon/Installer.php @@ -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); } }