From baddeb86edabc8ed56862bed7a7a73a66bfef2d3 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 26 Apr 2024 10:42:04 +0200 Subject: [PATCH] Fix --- lib/upload.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/upload.php b/lib/upload.php index 9a20ee8..3b60052 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -198,6 +198,8 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string if ($stmtfileexists->num_rows > 0) { return $filePath; } else { + echo $stmtfileexists->error; + echo $query; return false; } }