From a6c4ca20b9ca703f712f8b8370ad1da7f297aa13 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Tue, 5 Mar 2013 14:12:52 -0800 Subject: [PATCH] add comment for CRM-11994 --- CRM/Price/BAO/Set.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Price/BAO/Set.php b/CRM/Price/BAO/Set.php index 02838cbdbe..2f580d7e1a 100644 --- a/CRM/Price/BAO/Set.php +++ b/CRM/Price/BAO/Set.php @@ -679,6 +679,8 @@ WHERE id = %1"; $totalPrice += $lineItem[$optionValueId]['line_total']; if ( $component && + // auto_renew exists and is empty in some workflows, which php treat as a 0 + // and hence we explicity check to see if auto_renew is numeric isset($lineItem[$optionValueId]['auto_renew']) && is_numeric($lineItem[$optionValueId]['auto_renew']) ) { -- 2.25.1