Index: core/install/install_schema.sql =================================================================== --- core/install/install_schema.sql (revision 14318) +++ core/install/install_schema.sql (working copy) @@ -1029,7 +1029,7 @@ FormId int(11) NOT NULL DEFAULT '0', SubmissionTime int(11) DEFAULT NULL, IPAddress varchar(15) NOT NULL DEFAULT '', - ReferrerURL varchar(255) NOT NULL DEFAULT '', + ReferrerURL text NULL, LogStatus tinyint(3) unsigned NOT NULL DEFAULT '2', LastUpdatedOn int(10) unsigned DEFAULT NULL, Notes text, Index: core/install/upgrades.sql =================================================================== --- core/install/upgrades.sql (revision 14318) +++ core/install/upgrades.sql (working copy) @@ -2016,4 +2016,7 @@ 'LA_FLD_SELECTORNAME' ); -# ===== v 5.1.2 ===== \ No newline at end of file +# ===== v 5.1.2 ===== + +# ===== v 5.1.3-B1 ===== +ALTER TABLE FormSubmissions CHANGE ReferrerURL ReferrerURL TEXT NULL; \ No newline at end of file Index: core/units/forms/form_submissions/form_submissions_config.php =================================================================== --- core/units/forms/form_submissions/form_submissions_config.php (revision 14318) +++ core/units/forms/form_submissions/form_submissions_config.php (working copy) @@ -124,7 +124,7 @@ 'FormId' => Array('type' => 'int','not_null' => '1','default' => 0), 'SubmissionTime' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), 'IPAddress' => Array ('type' => 'string', 'max_len' => 15, 'not_null' => 1, 'default' => ''), - 'ReferrerURL' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), + 'ReferrerURL' => Array ('type' => 'string', 'default' => NULL), 'LogStatus' => Array ( 'type' => 'int',