fixes
This commit is contained in:
@@ -35,8 +35,9 @@
|
||||
$stmt->execute();
|
||||
|
||||
$stmt = $db->prepare("SELECT * FROM files where loc_id = :loc_id");
|
||||
$stmt->bindValue(":loc_id", $numDelete, SQLITE3_TEXT);
|
||||
$stmt->bindValue(":loc_id", $numDelete, PDO::PARAM_INT);
|
||||
$result = $stmt->execute();
|
||||
|
||||
if ($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
||||
$strFilename = $row['filename'];
|
||||
$strFilename = $uploaddir . $strFilename;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user