diff --git a/public/index.php b/public/index.php index c8b1fc3..8d10035 100644 --- a/public/index.php +++ b/public/index.php @@ -299,6 +299,7 @@ function init() $stmt = get_db()->prepare("SELECT * FROM files WHERE uuid=:uuid LIMIT 1"); $stmt->bindParam(':uuid', $id); + $stmt->execute(); $row = $stmt->fetch(PDO::FETCH_ASSOC);