This commit is contained in:
Bruno Rybársky 2024-04-26 10:46:34 +02:00
parent a403a65a69
commit 64ccb94755

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