diff --git a/CRM/Report/Utils/Get.php b/CRM/Report/Utils/Get.php index 536fe3f422dd..c33e0b3eb8bf 100644 --- a/CRM/Report/Utils/Get.php +++ b/CRM/Report/Utils/Get.php @@ -170,7 +170,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)) { + + //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; }