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