No member of the governing body of any county shall vote for an extra allowance to any person who is paid by salary, nor shall the treasurer of any county knowingly pay to any such person any extra allowance.