Whenever any member of the Pennsylvania National Guard or other reserve component of the armed forces of the United States shall be called or ordered to active duty, other than active duty for training, including, in the case of members of the Pennsylvania National Guard, active State duty, the educational institution in which the member is enrolled shall grant the member or the member's spouse a military leave of absence from their education. The member or the member's spouse shall receive an "M"or "military" on their grade transcript for all classes they are unable to complete due to a military leave of absence. Members and spouses on military leave of absence from their educational institution shall be entitled, upon the member's release from military duty, to be restored to the educational status they had attained prior to the member's being ordered to military duty without loss of academic credits earned, scholarships or grants awarded or tuition and other fees paid prior to the commencement of the military duty. It shall be the duty of the educational institution to refund tuition or fees paid or to credit the tuition and fees to the next semester or term after the termination of the educational military leave of absence at the option of the student.
51 Pa.C.S. § 7313