I think 'to' is incoherent in the sentence. I wonder if you have time to have it fixed. Could I make the change: I wonder if you have time and have it fixed.