This commit is contained in:
Bruno Rybársky 2024-04-25 23:37:52 +02:00
parent cd240b7d9f
commit afbeff1b08

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