you was on a family visit visa, i take it he was not your husband then,,
and your going to apply for a spouse visa now ?

just tell the truth, and no it should not effect you applying for any UK visa'S..
refusing to declare could lead to problems thou..
you should have nothing to worry about..