From afa824d7685281efcc4c0aca8a7eefff1dabf504 Mon Sep 17 00:00:00 2001 From: gtbu Date: Wed, 1 Jun 2022 10:11:33 +0200 Subject: [PATCH] Passing null to parameter deprecated php8 --- 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 348a088..fd1fc26 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) ?? ''){ \gp\tool\Files::RmAll($this->trash_path); } }