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:
c108566
)
CRM-16836 - Check permissions in CRM_Core_Form::addSelect
author
Coleman Watts
<coleman@civicrm.org>
Fri, 17 Jul 2015 20:08:22 +0000
(16:08 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 17 Jul 2015 20:08:22 +0000
(16:08 -0400)
CRM/Core/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index 76cc6ba2d1047fb2ab5c8114dcc5993c4d12ae4a..bfd99ab3111e5dfc519367435aeb1e76b7df5cad 100644
(file)
--- a/
CRM/Core/Form.php
+++ b/
CRM/Core/Form.php
@@
-1061,7
+1061,7
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
$options = $props['options'];
}
else {
- $info = civicrm_api3($props['entity'], 'getoptions', $props);
+ $info = civicrm_api3($props['entity'], 'getoptions', $props
+ array('check_permissions' => 1)
);
$options = $info['values'];
}
if (!array_key_exists('placeholder', $props)) {