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:
1f40c4b
)
CRM-13788 - Another place to check if array index is set - Field.php
author
Donald A. Lobo
<lobo@civicrm.org>
Mon, 18 Nov 2013 16:59:25 +0000
(08:59 -0800)
committer
Donald A. Lobo
<lobo@civicrm.org>
Mon, 18 Nov 2013 16:59:25 +0000
(08:59 -0800)
http://issues.civicrm.org/jira/browse/CRM-13788
CRM/Custom/Form/Field.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Custom/Form/Field.php
b/CRM/Custom/Form/Field.php
index 36b272d494b05caec990112151a69eee318f96d2..3c9d4b83df9bc34ed7462ac51bc73b978d785ca3 100644
(file)
--- a/
CRM/Custom/Form/Field.php
+++ b/
CRM/Custom/Form/Field.php
@@
-694,7
+694,7
@@
SELECT count(*)
}
$optionFields = array('Select', 'Multi-Select', 'CheckBox', 'Radio', 'AdvMulti-Select');
- if ($fields['option_type'] == 1) {
+ if (
isset($fields['option_type']) &&
$fields['option_type'] == 1) {
//capture duplicate Custom option values
if (!empty($fields['option_value'])) {
$countValue = count($fields['option_value']);