I don't imagine it would affect your chances much, but some universities may think that you have some sort of lioyalty to the university you're already at. Did you do your forst degree there too? The hope with universities offering PhDs is that you will continue there, but if you look like you'll go back to your old university afterwards they may be a little reluctant. I shouldn't think they'd hold it against you too much though