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);
|
$stmtfileexists->bind_param('i', $fileId);
|
||||||
}
|
}
|
||||||
$filePath = "";
|
$filePath = "";
|
||||||
$id = 0;
|
$id = -1;
|
||||||
$stmtfileexists->bind_result($id, $filePath);
|
$stmtfileexists->bind_result($id, $filePath);
|
||||||
$stmtfileexists->execute();
|
$stmtfileexists->execute();
|
||||||
if ($stmtfileexists->num_rows > 0){
|
if ($id != -1){
|
||||||
return $filePath;
|
return $filePath;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user