diff --git a/CRM/Report/Utils/Get.php b/CRM/Report/Utils/Get.php index 992ff2c082a9..7d9c3a4dee04 100644 --- a/CRM/Report/Utils/Get.php +++ b/CRM/Report/Utils/Get.php @@ -188,7 +188,9 @@ public static function intParam($fieldName, &$field, &$defaults) { // send the type as string so that multiple values can also be retrieved from url. // for e.g url like - "memtype_in=in&memtype_value=1,2,3" $value = self::getTypedValue("{$fieldName}_value", CRM_Utils_Type::T_STRING); - if (!preg_match('/^(\d+)(,\d+){0,14}$/', $value)) { + //https://projects.cividesk.com/projects/9/tasks/4735 + //change the max value to 20, ideally remove condition + if (!preg_match('/^(\d+)(,\d+){0,20}$/', $value)) { // extra check. Also put a limit of 15 max values. $value = NULL; }