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; } }