When the leak of membranes is such that pregnancy
can be continued without causing difficulty to the fetus, the labor can be arrested provided the leak is small enough and seals, if the baby is too far from maturity and proper monitoring is available. if the leak is serious as your friend has and the liquor is almost gone, it is wise to intercept the pregnancy be it at whatever stage, as the chances of infection are high with unwanted prognosis both to the mother and the fetus. Though the baby is premature, with proper neonatal care, everything should be fine. It is left to your obstetrician's choice and the patient's decision. Take care.