civicrm/civicrm-core — pull request #310 by agh1 (2013-04-02 19:25:18+00:00)
Title: check number of terms when updating member payment status

this fixes CRM-12268 by looking up the number of terms in CRM_Contribute_BAO_Contribution::transitionComponents()