From 979a8c8be747de8da6b3b2495f2d56f595ec190a Mon Sep 17 00:00:00 2001 From: Gabriel Poma Date: Thu, 10 Jul 2025 12:15:46 +0200 Subject: [PATCH] hard unlink fix --- lib/GPGCryptography.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GPGCryptography.class.php b/lib/GPGCryptography.class.php index b542478..3589cf7 100644 --- a/lib/GPGCryptography.class.php +++ b/lib/GPGCryptography.class.php @@ -71,7 +71,7 @@ class GPGCryptography } public static function hardUnlink($element) { - if (!$element) { + if (file_exists($element) === false) { return; } if (is_dir($element)) {