forked from Adleraci/adlerka.top
MEME
This commit is contained in:
parent
f5c70d0be2
commit
cd240b7d9f
@ -191,10 +191,10 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string
|
||||
$stmtfileexists->bind_param('i', $fileId);
|
||||
}
|
||||
$filePath = "";
|
||||
$id = 0;
|
||||
$id = -1;
|
||||
$stmtfileexists->bind_result($id, $filePath);
|
||||
$stmtfileexists->execute();
|
||||
if ($stmtfileexists->num_rows > 0){
|
||||
if ($id != -1){
|
||||
return $filePath;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user