From 0b34e9a4951ffddf59c5fbe48e024687ab7dd4f1 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Wed, 12 Oct 2016 14:34:08 +0530 Subject: [PATCH] CRM-19470 - Notice Fix upon event registration --- CRM/Price/BAO/PriceSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.25.1