CRM-15932 - Fix fatal error incorrect function call
authorColeman Watts <coleman@civicrm.org>
Sun, 1 Mar 2015 01:09:41 +0000 (20:09 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 2 Mar 2015 15:55:21 +0000 (10:55 -0500)
CRM/Core/Form/RecurringEntity.php

index 17242eb01e4aab81a626948babb3117a86f58954..01995623c2446c8561a39fbc442e53ca05f712ea 100644 (file)
@@ -398,7 +398,7 @@ class CRM_Core_Form_RecurringEntity {
                 'is_active' => 1,
               );
               $excludeDateList[] = $optionGroupValue['value'];
-              CRM_Core_BAO_OptionValue::add($optionGroupValue);
+              CRM_Core_BAO_OptionValue::create($optionGroupValue);
             }
           }
         }