I have a question I spend more time with him than her.( does it mean that I spent more time with him than she did or I spent more time with him than with her?).
It could have either meaning. Depending on the situation we can probably understand what the speaker is trying to say. It's best to make it clear though. I spend more time with him than she does. I spend more time with him than with her.