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

@ -193,11 +193,12 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string
$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){
echo "preco1";
return $filePath; return $filePath;
} }
else { else {
echo "preco2";
return false; return false;
} }
} }