This commit is contained in:
Walter Hupfeld
2024-02-18 09:09:31 +01:00
parent 91a8c4e567
commit 8ba6e62610
6 changed files with 4 additions and 3 deletions

View File

@@ -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.