A two-dimensional periodic array of quantum dots with two laterally coupled leads in a magnetic field is considered. The model of electron transport through the system based on the theory of self-adjoint extensions of symmetric operators is suggested. We obtain the formula for the transmission coefficient and investigate its dependence on the magnetic field.