Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-07-27-10-02-15
[civicrm-core.git] / CRM / Core / Form.php
index 857c83840835e847d54af048653491bda599e796..51a16abdb0ec7a3f9f581d3192021acfd37f8d82 100644 (file)
@@ -1204,7 +1204,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)) {