CRM-18044 - : Missing argument 4 for CRM_Custom_Form_CustomData::setGroupTree(),
authorSaurabh Batra <saurabh.batra96@gmail.com>
Sun, 21 Feb 2016 15:38:05 +0000 (21:08 +0530)
committerSaurabh Batra <saurabh.batra96@gmail.com>
Sun, 21 Feb 2016 15:38:05 +0000 (21:08 +0530)
https://issues.civicrm.org/jira/browse/CRM-18044

CRM/Custom/Form/CustomData.php

index 8b30cfb5f883939e451fb93514a0adbfcadd92cb..350941e6d8350f5587cbb20cf0014db6a7a976b3 100644 (file)
@@ -150,7 +150,7 @@ class CRM_Custom_Form_CustomData {
    *
    * @return array
    */
-  public static function setGroupTree(&$form, $subType, $gid, $onlySubType, $getCachedTree = FALSE) {
+  public static function setGroupTree(&$form, $subType, $gid, $onlySubType = NULL, $getCachedTree = FALSE) {
 
     $groupTree = CRM_Core_BAO_CustomGroup::getTree($form->_type,
       $form,