From: Donald A. Lobo Date: Tue, 5 Mar 2013 22:12:52 +0000 (-0800) Subject: add comment for CRM-11994 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a6c4ca20b9ca703f712f8b8370ad1da7f297aa13;p=civicrm-core.git add comment for CRM-11994 --- 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']) ) {