Display error if large batches will exceed the php.ini max_input_vars
authorsleewok <lee@uberactive.com>
Thu, 13 Oct 2016 17:38:23 +0000 (13:38 -0400)
committerGitHub <noreply@github.com>
Thu, 13 Oct 2016 17:38:23 +0000 (13:38 -0400)
commit49accad36da1be4ab4faaeac03167cacae67d704
tree8290a331aed2059c93f10734d9f355da3c393e76
parentb478acd8c121967468960f3b85216df434aa73c4
Display error if large batches will exceed the php.ini max_input_vars

The default value for max_input_vars in PHP is 1000. Batch entries that are >65 will silently error and break the batch data entry. This change will throw a fatal error if the batch size will fail.
CRM/Batch/Form/Entry.php