Payroll from two different employers

I am with X employer till now and moved to different employer Y on My 1st and I am getting my payroll from Y.

X employer dont know that i am working for Y but now i told X employer i got FT so my question is will there be any problem if i get my payroll for may month from both the employers.