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 { } else {
$stmtfileexists->bind_param('i', $fileId); $stmtfileexists->bind_param('i', $fileId);
} }
echo "aaddaad";
$filePath = ""; $filePath = "";
$stmtfileexists->bind_result($filePath); $stmtfileexists->bind_result($filePath);
$stmtfileexists->execute(); $stmtfileexists->execute();
echo "preco";
if ($stmtfileexists->num_rows > 0){ if ($stmtfileexists->num_rows > 0){
return $filePath; return $filePath;
} }