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:
6e03a69
)
CRM-16497: Fixed problematic loop related to report display options.
author
Frank J. Gómez
<frank@ginkgostreet.com>
Wed, 13 May 2015 00:32:22 +0000
(20:32 -0400)
committer
Frank J. Gómez
<frank@ginkgostreet.com>
Wed, 13 May 2015 00:32:22 +0000
(20:32 -0400)
CRM/Report/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index c13a8a4573711599082d5334c052b50397b9a99d..f8127d4cceceaba38028dd52996693cf9e22decc 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-1205,8
+1205,9
@@
class CRM_Report_Form extends CRM_Core_Form {
// FIXME: For now lets build all elements as checkboxes.
// Once we clear with the format we can build elements based on type
- $options = array();
foreach ($this->_options as $fieldName => $field) {
+ $options = array();
+
if ($field['type'] == 'select') {
$this->addElement('select', "{$fieldName}", $field['title'], $field['options']);
}