This commit is contained in:
2023-04-12 14:25:02 +08:00
parent f69e9ad87d
commit be1aa0ddfe
+1 -1
View File
@@ -300,7 +300,7 @@ function init()
$stmt = get_db()->prepare("SELECT * FROM files WHERE uuid=:uuid LIMIT 1"); $stmt = get_db()->prepare("SELECT * FROM files WHERE uuid=:uuid LIMIT 1");
$stmt->bindParam(':uuid', $id); $stmt->bindParam(':uuid', $id);
$row = $stmt->fetch(); $row = $stmt->fetch(PDO::FETCH_ASSOC);
if (empty($row['stc'])) { if (empty($row['stc'])) {
echo_json([ echo_json([