When the amount of the bond to be given by any county, district or precinct officer is not fixed by law the amount must be fixed by the board of commissioners.