forked from Adleraci/adlerka.top
Fix
This commit is contained in:
parent
a403a65a69
commit
64ccb94755
@ -192,8 +192,8 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string
|
|||||||
}
|
}
|
||||||
$filePath = "";
|
$filePath = "";
|
||||||
$id = null;
|
$id = null;
|
||||||
$stmtfileexists->bind_result($id, $filePath);
|
|
||||||
$stmtfileexists->execute();
|
$stmtfileexists->execute();
|
||||||
|
$stmtfileexists->bind_result($id, $filePath);
|
||||||
$stmtfileexists->fetch();
|
$stmtfileexists->fetch();
|
||||||
if ($stmtfileexists->num_rows > 0) {
|
if ($stmtfileexists->num_rows > 0) {
|
||||||
return $filePath;
|
return $filePath;
|
||||||
|
Loading…
Reference in New Issue
Block a user