projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde484f
)
add comment for CRM-11994
author
Donald A. Lobo
<lobo@civicrm.org>
Tue, 5 Mar 2013 22:12:52 +0000
(14:12 -0800)
committer
Donald A. Lobo
<lobo@civicrm.org>
Tue, 5 Mar 2013 22:12:52 +0000
(14:12 -0800)
CRM/Price/BAO/Set.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Price/BAO/Set.php
b/CRM/Price/BAO/Set.php
index 02838cbdbe0da273d83715c1d1c494147b9ff2cb..2f580d7e1aca7384f0d591966dabfcb22fe95e07 100644
(file)
--- 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'])
) {