6-51. Not entitled to fees in advance.
Witnesses are not entitled to receive their fees in advance; but no witness in a civil action or special proceeding, unless summoned on behalf of the State or a municipal corporation, shall be compelled to attend more than one day, if the party by or for whom he was summoned shall, after one day's attendance, on request and presentation of a certificate, fail or refuse to pay what then may be due for traveling to the place of examination and for the number of days of attendance.