Old wives tale

So i called my ob gyn and talked tonthe nurse. Becuz i developed an uti and im concerned about my birth control not working. She said im am safe and she said itd an "old wives tale" about birth control becoming weaken by antibiotics. What fo u guys think.