From ce5804af11d6ce36dcd10967784041f28832be37 Mon Sep 17 00:00:00 2001 From: Thijs van den Hout <36235544+tvdhout@users.noreply.github.com> Date: Tue, 1 Feb 2022 12:08:41 +0100 Subject: [PATCH] Increase IP address size for IPv6 --- src/global/code/Forms.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/code/Forms.class.php b/src/global/code/Forms.class.php index b95d3c20..893bf97d 100644 --- a/src/global/code/Forms.class.php +++ b/src/global/code/Forms.class.php @@ -986,7 +986,7 @@ public static function finalizeForm($form_id) $query .= "submission_date DATETIME NOT NULL, last_modified_date DATETIME NOT NULL, - ip_address VARCHAR(15), + ip_address VARCHAR(39), is_finalized ENUM('yes','no') default 'yes') Engine=InnoDB DEFAULT CHARSET = $db_table_charset";