Whenever a complaint is filed for the satisfaction or foreclosure of any mortgage on real estate or land contract held by the authority, upon which there is due any interest or any portion or installment of the principal and there are other portions or installments to become due subsequently, the complaint shall be dismissed upon the defendant's bringing into court, at any time before the judgment of sale, the principal and interest due, with costs.
MCL 125.1448c