No error, irregularity, or omission which does not affect the substantial rights of the taxpayers within the district or the electors voting at any election at which bonds of any district are authorized to be issued shall invalidate the election or any bonds authorized by such election.

(Enacted by Stats. 1976, Ch. 1010.)