From afbeff1b08a998ae5a452ff31db006184e94a991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 25 Apr 2024 23:37:52 +0200 Subject: [PATCH] MEME --- lib/upload.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/upload.php b/lib/upload.php index b5a606f..b0ebe91 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -194,6 +194,7 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string $id = -1; $stmtfileexists->bind_result($id, $filePath); $stmtfileexists->execute(); + $stmtfileexists->fetch(); if ($id != -1){ return $filePath; }