phpcs
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 20 Jul 2015 22:36:49 +0000 (10:36 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 20 Jul 2015 22:36:49 +0000 (10:36 +1200)
CRM/Price/BAO/PriceSet.php

index 3d563f77bd20584a14b5ecf8a7c4d269de1d6ba4..368afcb88494bd0b8c1331221d0593a46cfe9692 100644 (file)
@@ -1388,9 +1388,9 @@ WHERE       ps.id = %1
    * @param int $id
    *
    * @return array(
-   *  Membership types in the price set
+   *   Membership types in the price set
    */
-  static function getMembershipTypesFromPriceSet($id) {
+  public static function getMembershipTypesFromPriceSet($id) {
     $query
       = "SELECT      pfv.id, pfv.price_field_id, pfv.name, pfv.membership_type_id, pf.html_type, mt.auto_renew
 FROM        civicrm_price_field_value pfv