From d96f74096b027746a6eb743f01d163c187f8ace3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 25 Apr 2024 23:30:34 +0200 Subject: [PATCH] MEME --- lib/upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/upload.php b/lib/upload.php index 3cb33c8..1fa759b 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -194,11 +194,11 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string $stmtfileexists->bind_result($filePath); $stmtfileexists->execute(); if ($stmtfileexists->num_rows > 0){ - echo "preco1"; return $filePath; } else { - echo "preco2"; + echo $stmtfileexists->error; + echo $query; return false; } }