Taking a laxative while breastfeeding

Doris
I took magnesium citrate oral saline solution laxative last night, completely forgetting about it possibly passing to my breast milk. I haven't given it to my baby and good thing I have a freezer stash. Do you guys think it would affect my baby? Does anybody have experience with this?