This is meant for use with Floris Expanded V2.54/V2.55 and works for all 3 troop trees. This mod for Floris Expanded guarantees that polearm troops will always have a polearm, stopping such situations from occuring. This can lead to some frustrating situations in which you need a dedicated group of troops armed with polearms, but large numbers of them don't have the weapons they need for the job.
Normally, polearm troops will not always be given a polearm as part of their equipment at the start of a battle.