update
This commit is contained in:
+1
-1
@@ -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([
|
||||||
|
|||||||
Reference in New Issue
Block a user