From 9f71f1ff305aa1a8cfe54efb78e17f19a0b323f3 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 17 Jul 2015 16:08:22 -0400 Subject: [PATCH] CRM-16836 - Check permissions in CRM_Core_Form::addSelect --- CRM/Core/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 76cc6ba2d1..bfd99ab311 100644 --- 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)) { -- 2.25.1