From 64ccb947555e669755cdb145971155f811342dad Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 26 Apr 2024 10:46:34 +0200 Subject: [PATCH] Fix --- lib/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/upload.php b/lib/upload.php index e5a7bf0..a4aec4b 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -192,8 +192,8 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string } $filePath = ""; $id = null; - $stmtfileexists->bind_result($id, $filePath); $stmtfileexists->execute(); + $stmtfileexists->bind_result($id, $filePath); $stmtfileexists->fetch(); if ($stmtfileexists->num_rows > 0) { return $filePath;