From fdce25fe983065cccaf4eeab3b748ad9de0cc5a4 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 26 Apr 2024 10:43:53 +0200 Subject: [PATCH] Fix --- lib/upload.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/upload.php b/lib/upload.php index 3b60052..03b080e 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -198,8 +198,7 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string if ($stmtfileexists->num_rows > 0) { return $filePath; } else { - echo $stmtfileexists->error; - echo $query; + echo "id: $id a path: $filePath"; return false; } }