From f2ae31777172c1b482c72cdcd13b802898253a86 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 8 May 2019 10:48:02 -0600 Subject: [PATCH] Keep ID out of customfield history change list --- admin/inc/class.admin_cmd_customfield.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/inc/class.admin_cmd_customfield.inc.php b/admin/inc/class.admin_cmd_customfield.inc.php index db10aad2ca..69cc696170 100644 --- a/admin/inc/class.admin_cmd_customfield.inc.php +++ b/admin/inc/class.admin_cmd_customfield.inc.php @@ -97,6 +97,11 @@ class admin_cmd_customfield extends admin_cmd unset($set[$key]); unset($old[$key]); } + else + { + // Make sure it's a string, not an int + $set[$key] = ''.$value; + } } } $this->set = $set;