depends on the wording in your contract! because you may havea) assigned the publishing rights to the magazine for that issue only
b) assigned them the rights but retained the right to publish and or assign rights elsewhere. (sometimes this is done after a certain period of time)
c) granted PERMISSION for them to publish but retained the rights unto yourself.
or about 60 gazillion variations.