You could be okay.
Dependent upon the style of forks i.e. if they are both the same design they should be fine.
If one is the CNC arch version and one the molded CNC version they you might have a problem .
I recently swapped a lower leg over from some 1997 forks for a 2000 fork so that I could use the IS disc mount.
Do you have any pics?