From b9a07e15fa4e1a9edf58e4598b38d600d21eeccc Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Mon, 24 Jul 2023 23:14:41 -0500 Subject: [PATCH] Added additional information for database storage --- result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/result.php b/result.php index 4373f8f..62071d8 100644 --- a/result.php +++ b/result.php @@ -99,7 +99,7 @@ if ($result->count() != 0) { } -$statement = $session->prepare('INSERT INTO data (id, url, shortlink, is_geo, radius, latitude, longitude, user, when_created) VALUES (now(),?,?,?,?,?,?,?,toTimestamp(now())) USING TTL ?;'); +$statement = $session->prepare('INSERT INTO data (id, url, shortlink, is_geo, radius, latitude, longitude, user, purgatory, hell, when_created) VALUES (now(),?,?,?,?,?,?,?,false, false, toTimestamp(now())) USING TTL ?;'); if ($is_geo == 1) { $options = array($url,$shortlink,boolval($is_geo),intval($radius), $latitude, $longitude, $_SESSION['user'], intval($ttl));