From: jitendrapurohit Date: Wed, 12 Oct 2016 09:04:08 +0000 (+0530) Subject: CRM-19470 - Notice Fix upon event registration X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0b34e9a4951ffddf59c5fbe48e024687ab7dd4f1;p=civicrm-core.git CRM-19470 - Notice Fix upon event registration --- diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index 3b651de7eb..36dc1dcd16 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -1722,7 +1722,7 @@ WHERE ps.id = %1 $priceSetParams = array(); foreach ($params as $field => $value) { $parts = explode('_', $field); - if (count($parts) == 2 && $parts[0] == 'price' && is_numeric($parts[1])) { + if (count($parts) == 2 && $parts[0] == 'price' && is_numeric($parts[1]) && is_array($value)) { $priceSetParams[$field] = $value; } }