notice fixes
authorkurund <kurund@civicrm.org>
Tue, 13 Aug 2013 22:42:11 +0000 (04:12 +0530)
committerkurund <kurund@civicrm.org>
Tue, 13 Aug 2013 22:42:11 +0000 (04:12 +0530)
CRM/Event/Form/Registration.php

index ca96ddec56233702a00d5c7b6aa57a5e93c75bd1..35e760257f28af0d54c7c57afb4149dc950a61e8 100644 (file)
@@ -1078,7 +1078,7 @@ WHERE  v.option_group_id = g.id
    * @return array $optionsCount, array of each option w/ count total.
    * @access public
    */
-  function getPriceSetOptionCount(&$form) {
+  public static function getPriceSetOptionCount(&$form) {
     $params     = $form->get('params');
     $priceSet   = $form->get('priceSet');
     $priceSetId = $form->get('priceSetId');