This commit is contained in:
Bruno Rybársky 2024-04-25 23:29:29 +02:00
parent 936e751042
commit 1d23855343

@ -190,10 +190,10 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string
} else {
$stmtfileexists->bind_param('i', $fileId);
}
echo "aaddaad";
$filePath = "";
$stmtfileexists->bind_result($filePath);
$stmtfileexists->execute();
echo "preco";
if ($stmtfileexists->num_rows > 0){
return $filePath;
}