Skip to content

Commit

Permalink
Merge pull request #10452 from JMAConsulting/CRM-20668
Browse files Browse the repository at this point in the history
CRM-20668, Fixed Notice error
  • Loading branch information
colemanw authored Jun 26, 2017
2 parents 45be2c6 + ea09031 commit c75c1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Member/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ protected function processRecurringContribution($paymentParams) {
*/
protected function ensurePriceParamsAreSet(&$formValues) {
foreach ($formValues as $key => $value) {
if ((substr($key, 0, 6) == 'price_') && is_int(substr($key, 7))) {
if ((substr($key, 0, 6) == 'price_') && is_numeric(substr($key, 6))) {
return;
}
}
Expand Down

0 comments on commit c75c1bd

Please sign in to comment.