From e834996ab868c5a6927c41b98d64f1cf406e0d8e Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 11 Jun 2014 16:27:16 +1200 Subject: [PATCH] CRM-14822 Comment fixes --- api/v3/utils.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index 52efd1caae..d4dd9915d0 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -982,7 +982,9 @@ function formatCheckBoxField(&$checkboxFieldValue, $customFieldLabel, $entity) { } elseif (stristr($checkboxFieldValue, ',')) { $formatValue = TRUE; - //lets see if we should separate it + //lets see if we should separate it - we do this near the end so we + // ensure we have already checked that the comma is not part of a legitimate match + // and of course, we don't make any changes if we don't now have matches $possibleValues = explode(',', $checkboxFieldValue); } else { -- 2.25.1